I'm using 3.6.5-1000 on Windows XP with Java 1.6.0.20.
Seems like davmail.exe grabs about 500 Mb on startup.
Would be good if I could tune it smaller usage, say, by
introducing appropriate -Xmx property within .davmail.properties
500Mb is huge, DavMail usually is somewhere around 50Mb here. The -Xmx is at 256Mb in davmail.exe jsmooth wrapper
=> I don't know how you end up with a half gigabytes process.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
a few days ago I had a 350MB davmail process and now it's at 157MB. I'd like to know where that memory is going - I have a really tiny Exchange account and not that many calendar entries (a few/day).
Is there a way to find out the memory assignments?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Well, Java is like that anyway - you just give it a max mem and it will eventually grab it for heap. Btw I see it showing as 500 Mb within Process Explorer under the column "Virtual Size". Quite likely, the Java heap hasn't actually extended to that size already, because that's the size it shows when it initially starts up, without having done anything else at all.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It seem the "virtual size" column of Process Explorer (SysInternals.com) is reporting the address space - see http://forum.sysinternals.com/printer_friendly_posts.asp?TID=2120 for instance. So maybe this isn't so critical as I thought, since I don't do large quantities of emails on a daily basis. But I could imagine that someone who does use a lot of email might start banging into a good chunk of that address space. I dunno. J
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
500Mb is huge, DavMail usually is somewhere around 50Mb here. The -Xmx is at 256Mb in davmail.exe jsmooth wrapper
=> I don't know how you end up with a half gigabytes process.
Hi Mickael,
a few days ago I had a 350MB davmail process and now it's at 157MB. I'd like to know where that memory is going - I have a really tiny Exchange account and not that many calendar entries (a few/day).
Is there a way to find out the memory assignments?
Well, Java is like that anyway - you just give it a max mem and it will eventually grab it for heap. Btw I see it showing as 500 Mb within Process Explorer under the column "Virtual Size". Quite likely, the Java heap hasn't actually extended to that size already, because that's the size it shows when it initially starts up, without having done anything else at all.
Ok, did a new test: a full mailbox sync over IMAP with about a thousand messages eats up to 42Mb heap.
About latest comment: java does not consume memory up to max heap, partial gc periodically cleans up the short lived objects.
It seem the "virtual size" column of Process Explorer (SysInternals.com) is reporting the address space - see http://forum.sysinternals.com/printer_friendly_posts.asp?TID=2120 for instance. So maybe this isn't so critical as I thought, since I don't do large quantities of emails on a daily basis. But I could imagine that someone who does use a lot of email might start banging into a good chunk of that address space. I dunno. J
Ok, closed then :-)