Re: java.lang.OutOfMemoryError
Re: java.lang.OutOfMemoryError
- Subject: Re: java.lang.OutOfMemoryError
- From: Ricardo Strausz <email@hidden>
- Date: Fri, 11 Apr 2003 13:25:56 -0600
On viernes, abri 11, 2003, at 12:57 America/Mexico_City, Cliff Tuel
wrote:
I'd try the second method proposed by the paper, growing the memory
(from 64mb) to 384mb but stll run out of memory...
Immediately, or does it take longer now? If the former, then the
technique
isn't working. Like I said, I haven't tried it with Cocoa/EOF apps
(they're
still considered "experimental" which is why we don't license Cocoa/EOF
deployments yet).
I am not sure, but I think it took a bit longer.
It is a bit rare; it takes about 7 minutes to proces ~1500 clients
(with the default 64mb) which is about 1/3 of all. If a change to 128mb
it crashes (with a signalbus 10) as if I change to 192mb, in arround 15
min; but with 384 it goes out of memory, again in about 15 min...
I still have to do more experiments...
but someone should push Apple to license Cocoa/EO; it is simply the
best tech to develope DB-based apps...
if I have 512 mb of ram, can I assign ALL of it to the JVM??
that is, can I use the option -Xmx512m in the JVM_OPTIONS??
You need to need enough for the operating system and other applications
which may be running, otherwise your machine will start swapping -- a
huge
performance hit.
There's a hard-coded upper-bound on -Xmx which is platform-dependent.
However, in your case, I suggest you use a fetch qualifier, fetch
limit, or
don't fetch unneeded attributes.
I am fetching the less necesary to do the statistics I nead...
well I neaded; I had to partition everythig in 3 in order to do it;
I hope we will learn more from this isue....
--
Cliff Tuel email@hidden http://apple.com/services/technicalsupport
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.