Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET POP3

 AfterLogic Forum : MailBee.NET POP3
Subject Topic: Memory Problems Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
DarkProfit
Newbie
Newbie


Joined: 11 February 2009
Location: United States
Online Status: Offline
Posts: 2
Posted: 11 February 2009 at 12:43pm | IP Logged Quote DarkProfit

Ok first let me say very nice object, we have purchased the MailBee.net Objects suite and everything works like a champ however I have a few questions/problems.

I have mail box with 550 items in it and using pop with events so I say DownloadEntireMessages and in turn it fires off the event MessageDownloaded everything works great but here is the problem my memory goes up to about 192 and just cannot release it to save my life. (winForms)

Also I was under the impression that the anti-spam stuff came with a list of junk mail to train but can't seem to find it anywhere?

Thanks in advance.
Back to Top View DarkProfit's Profile Search for other posts by DarkProfit
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6044
Posted: 12 February 2009 at 3:24am | IP Logged Quote Igor

What operations performed by MailBee.NET Objects you expect to be followed by memory release? How did you figure out the memory was not released?

Please note that it's not possible to explicitly release memory in .NET applications, this is done by Garbage Collector (GC) which runs according to certain rules. However, it's possible to call GC directly from your application.

You should make sure you don't have any references to those memory locations left in your application. After that try to run GC explicitly in your application. Does it help?

Please also make sure you are using the latest version MailBee.NET.dll, please check this FAQ section for detailed information on upgrading MailBee.NET Objects.

Regards,
Igor
Back to Top View Igor's Profile Search for other posts by Igor
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6044
Posted: 12 February 2009 at 3:27am | IP Logged Quote Igor

Quote:
Also I was under the impression that the anti-spam stuff came with a list of junk mail to train but can't seem to find it anywhere?


We're not sure we understood what exactly you mean. We don't ship any ready-to-use junk mail bases with MailBee.NET AntiSpam Component.

Regards,
Igor
Back to Top View Igor's Profile Search for other posts by Igor
 
DarkProfit
Newbie
Newbie


Joined: 11 February 2009
Location: United States
Online Status: Offline
Posts: 2
Posted: 12 February 2009 at 6:38am | IP Logged Quote DarkProfit

Running GC.Collect in your application is generally a bad idea, and normally when i destroy a object and/or thread the object is flaged by the GC to clear up (when GC decides to run) which is fine.

However when after I download a couple hundred messages using the object it doesn't get flagged for deletion. (yes i am aware that setting an object to null/nothing in .net does just that nothing).

Anyway I implemented marshaling and nuke the object that way and it works just fine.

On the anti-spam stuff I must be smoking crack because I swear before we bought this it said it came with like 100 ready to use spam messages. But not a big deal. :)



Back to Top View DarkProfit's Profile Search for other posts by DarkProfit
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6044
Posted: 12 February 2009 at 7:01am | IP Logged Quote Igor

Is it possible for you to provide us with a small application so we could run it and see with our own eyes that memory is not released? Please use Request for Support form for this.

Regards,
Igor
Back to Top View Igor's Profile Search for other posts by Igor
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide