• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: java.lang.OutOfMemoryError
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: java.lang.OutOfMemoryError
      • From: Ricardo Strausz <email@hidden>
References: 
 >Re: java.lang.OutOfMemoryError (From: Ricardo Strausz <email@hidden>)

  • Prev by Date: Re: java.lang.OutOfMemoryError
  • Next by Date: Re: EOGeneralAdaptorException
  • Previous by thread: Re: java.lang.OutOfMemoryError
  • Next by thread: Re: java.lang.OutOfMemoryError
  • Index(es):
    • Date
    • Thread