Re: [jibx-users] java.lang.OutOfMemoryError: Java heap space

2008-12-01 Thread Bhupesh K. Chowdary
Actually that time I got some objection on data format and size of the data(17 MB), So I reformatred my dto, conversion and binding file, that fixes my problem, My suggestions are try to reduce the amount of data in the services layer. and then pass thru the JiBX, if it gives the same problem the

Re: [jibx-users] java.lang.OutOfMemoryError: Java heap space

2008-12-01 Thread Alberto Ivo
Bhupesh, how exatcly did you fix you error? I've already did everything I could, looking for loops and stuff... but didn't find anything. On Mon, Dec 1, 2008 at 3:08 PM, Bhupesh K. Chowdary <[EMAIL PROTECTED]>wrote: > I got the same error long back with 17 MB of data, but I strongly belive it >

Re: [jibx-users] java.lang.OutOfMemoryError: Java heap space

2008-12-01 Thread Bhupesh K. Chowdary
I got the same error long back with 17 MB of data, but I strongly belive it is not JiBX-related, May be the reason is when you are converting Doamin obj to DTO there might be a slight casting exception, Thnaks On Mon, Dec 1, 2008 at 9:37 AM, Thomas Jones-Low <[EMAIL PROTECTED]>wrote: > Albe

Re: [jibx-users] java.lang.OutOfMemoryError: Java heap space

2008-12-01 Thread Thomas Jones-Low
Alberto Ivo wrote: > Hello, > > I'm here again to ask some help. I can now generate my XML file, very > nice, but when the file becomes very big, I got the error: > /java.lang.OutOfMemoryError: Java heap space/. How can I fix this? There > is a limit for the XML File size? > > Thanks a lot. >

Re: [jibx-users] java.lang.OutOfMemoryError: Java heap space

2008-12-01 Thread Petter Måhlén
This error doesn't look like it is obviously JiBX-related. It is happening when you are reading data from your database via Hibernate, if I understand it right. If the way you do that is OK (ie, you're not loading a lot of stuff that you don't need into memory), then you could try by simply increas

Re: [jibx-users] java.lang.OutOfMemoryError: Java heap space

2008-12-01 Thread Alberto Ivo
Only one collection in my binding file is ArrayList, all the rest is a HashSet. And the error, as I'm seeing, is in the ArrayList. is that right? Anyone here passed through this? I appreciated any kind of help. thanks in advance! On Mon, Dec 1, 2008 at 11:14 AM, Alberto Ivo <[EMAIL PROTECTED]> w

Re: [jibx-users] java.lang.OutOfMemoryError: Java heap space

2008-12-01 Thread Alberto Ivo
[ConditionalEventPump] Exception occurred during event dispatching: java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:2760) at java.util.Arrays.copyOf(Arrays.java:2734) at java.util.ArrayList.ensureCapacity(ArrayList.java:167) at java.util.ArrayList.

[jibx-users] java.lang.OutOfMemoryError: Java heap space

2008-12-01 Thread Alberto Ivo
Hello, I'm here again to ask some help. I can now generate my XML file, very nice, but when the file becomes very big, I got the error: *java.lang.OutOfMemoryError: Java heap space*. How can I fix this? There is a limit for the XML File size? Thanks a lot. -- Alberto Ivo Vieira ---