Page 1 of 1

Why such a Large Heap/Memory Size?

Posted: Thu Aug 04, 2011 12:39 pm
by tsundar2
Hello,

Can someone comment on why the demo/broadleaf framework require such a large heapsize to work :?:

I am running the demo from Broadleaf version 1.5 M1 on Websphere V6.1 through RAD.

Thanks!

Re: Why such a Large Heap/Memory Size?

Posted: Fri Aug 12, 2011 4:46 pm
by jefffischer
Are you referring to the demo? It runs fine with a regular heap of around 512 and a permgen space of around 256. Are you considering this large? Remember, this is the app container as well.

Re: Why such a Large Heap/Memory Size?

Posted: Tue Aug 16, 2011 2:04 pm
by tsundar2
Problem seemed to have disappeared. I was intermittently encountering a OutofMemory exception, must have been something with my environment because now I can't recreate it.

Also, the Eclipse-WTP documentation mentions:

Code: Select all

-Xmx512m -XX:MaxPermSize=512M

-Xmx1024m -XX:MaxPermSize=512M

Was there a specific reason for this?

Re: Why such a Large Heap/Memory Size?

Posted: Sat Sep 03, 2011 2:27 pm
by rpierre33
Well, I do not think this is large or can even be considered to take a big amount of size considering the functions under the hood. I have to agree, with the condition that it also covers the container, the resource it requires all the more seems small. Though the problem would lie on your implementation and installation as it seems.