Re: java.lang.OutOfMemoryError
Re: java.lang.OutOfMemoryError
- Subject: Re: java.lang.OutOfMemoryError
- From: Cliff Tuel <email@hidden>
- Date: Fri, 11 Apr 2003 11:57:17 -0700
> 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).
> 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.
--
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.