Post a reply

Write your message and submit

Options

Click in the dark area of the image to send your post.

Go back

Topic review (newest first)

mbeck
2007-11-27 13:27:20

Hello shong,
I downloaded v2.3.0. Here in the following my results:
1. I changed the -Xmx parameter to 1536 and obtained the same error returned by using 2.2.1. Here in the following the error:

Starting job Copy_of_largeFile5 at 13:17 27/11/2007.
247281 milliseconds
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
    at org.dom4j.io.SAXContentHandler.characters(SAXContentHandler.java:299)
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.characters(AbstractSAXParser.java:570)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanContent(XMLDocumentFragmentScannerImpl.java:1062)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1649)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
    at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
    at org.dom4j.io.SAXReader.read(SAXReader.java:465)
    at org.dom4j.io.SAXReader.read(SAXReader.java:343)
    at prj1.copy_of_largefile5.Copy_of_largeFile5.tFileInputXML_1Process(Copy_of_largeFile5.java:272)
    at prj1.copy_of_largefile5.Copy_of_largeFile5.runJob(Copy_of_largeFile5.java:613)
    at prj1.copy_of_largefile5.Copy_of_largeFile5.main(Copy_of_largeFile5.java:548)
Job Copy_of_largeFile5 ended at 13:21 27/11/2007. [exit code=1]

2. I changed the -Xmx parameter to 2048 and I have the following the error:

Starting job Copy_of_largeFile5 at 13:26 27/11/2007.
Error occurred during initialization of VM
Could not create the Java virtual machine.
Could not reserve enough space for object heap
Job Copy_of_largeFile5 ended at 13:26 27/11/2007. [exit code=1]


Some other idea ?

Regards,

max

mbeck
2007-11-27 10:33:54

I'm using 2.2.1...
Do you think 2.3.0 could solve the problem ?

shong
2007-11-27 04:05:39

Hi

Which version of TOS did you use?
From TOS2.3.0M1, you can allocate more memory to a job, go to Windows --> Preferences --> Talend --> Run/Debug and change the VM arguments.

Best regards

        shong

mbeck
2007-11-26 17:39:51

Hello,
I have to manage a very large XML file 1,5/2 Gbytes but I have a memory error...
Have you suggestion for workaround or something else ?

Thanks a lot

Max

Board footer

Powered by FluxBB