> -----Original Message----- > From: Paul Tomsic [mailto:[EMAIL PROTECTED] > Sent: 02 November 2006 21:40 > To: [email protected] > Subject: Re: XMLSerializer running out of memory.... > > sorry, "-Xmx2048m" > > --- Stanimir Stamenkov <[EMAIL PROTECTED]> wrote: > > > /Paul Tomsic/: > > > --- [EMAIL PROTECTED] wrote: > > > > > >> Have you tried using the > > >> -Xmx (or equivalent) option on your JVM to > > increase > > >> the amount of heap > > >> memory it's allowed to use before giving up? > > > > > > yes. it's up to 2048 and still blowing up > > > > Is this 2048M (Mega) bytes or just 2048 bytes? > >
In similar situations, I've found that turning verbose garbage collection logging on has been helpful. The exact commands to do this depend on your JVM. For example, I found recently that my Eclipse was grinding to a halt because my permanent generation had filled up - and this isn't automatically increased when the heap size is increased. -- Bill Michell Development Team Leader, Broadcast Platforms, BBC News Interactive. http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
