Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Increasing memory to junits (was Re: [cdt-dev] Nightly build broken)



On 12 April 2010 21:20, Vivian Kong <vivkong@xxxxxxxxxx> wrote:

Yes we're using M6 platform.

I've changed the vmargs...let's see if that helps.


Hmm... I'm still getting these on builds here, and haven't been able to figure out how to set the -vmargs on the Java instance that runs the junits. 
I'm using a sun java, so I'd like to set  -XX:MaxPermSize=256M .

Can anyone give me a clue how I might do this?


Cheers,
James




Regards,

Vivian Kong
IBM Eclipse CDT
IBM Canada Toronto Lab

Inactive hide details for James Blackburn ---04/12/2010 03:55:19 PM---On 12 April 2010 20:31, Vivian Kong <vivkong@xxxxxxxxxx> James Blackburn ---04/12/2010 03:55:19 PM---On 12 April 2010 20:31, Vivian Kong <vivkong@xxxxxxxxxx> wrote: > Thanks John.


From:

James Blackburn <jamesblackburn@xxxxxxxxx>

To:

"CDT General developers list." <cdt-dev@xxxxxxxxxxx>

Date:

04/12/2010 03:55 PM

Subject:

Re: [cdt-dev] Nightly build broken

Sent by:

cdt-dev-bounces@xxxxxxxxxxx






On 12 April 2010 20:31, Vivian Kong <vivkong@xxxxxxxxxx> wrote:
    Thanks John.

    However the build is now running out of memory during JUnit testing (see details below). Has anyone run into this before?


Having merged up to 3.6m6 I noticed our headless test runs falling over intermittently with a permgen OOM on a Sun VM.  Perhaps we were just close to the edge before?

The CDescriptorOldTests haven't changed since 6.0... I presume you're still building against the m6 platform?

Does bumping the vm memory limit a little help?

Cheers,
James

    test:
    [untar] Expanding: /home/data/httpd/
    download.eclipse.org/eclipse/downloads/drops/S-3.6M6-201003121448/eclipse-SDK-3.6M6-linux-gtk-ppc.tar.gz into /opt/public/download-staging.priv/tools/cdt/releng/org.eclipse.cdt/all/org.eclipse.cdt.releng/results/test
    [unzip] Expanding: /opt/public/download-staging.priv/tools/cdt/releng/org.eclipse.cdt/all/org.eclipse.cdt.releng/results/I.I201004121351/cdt-master-7.0.0-I201004121351.zip into /opt/public/download-staging.priv/tools/cdt/releng/org.eclipse.cdt/all/org.eclipse.cdt.releng/results/test/eclipse
    [unzip] Expanding: /opt/public/download-staging.priv/tools/cdt/releng/org.eclipse.cdt/all/org.eclipse.cdt.releng/results/test/eclipse/plugins/org.eclipse.cdt.testing_7.0.0.201004121351.jar into /opt/public/download-staging.priv/tools/cdt/releng/org.eclipse.cdt/all/org.eclipse.cdt.releng/results/test/test/cdt
    [unzip] Expanding: /opt/public/download-staging.priv/tools/cdt/releng/org.eclipse.cdt/all/org.eclipse.cdt.releng/results/test/eclipse/plugins/org.eclipse.test_3.3.0.jar into /opt/public/download-staging.priv/tools/cdt/releng/org.eclipse.cdt/all/org.eclipse.cdt.releng/results/test/test/eclipse
    [delete] Deleting: /opt/public/download-staging.priv/tools/cdt/releng/org.eclipse.cdt/all/org.eclipse.cdt.releng/results/test/eclipse/site.xml
    [delete] Deleting: /opt/public/download-staging.priv/tools/cdt/releng/org.eclipse.cdt/all/org.eclipse.cdt.releng/results/test/eclipse/pack.properties
    [delete] Deleting: /opt/public/download-staging.priv/tools/cdt/releng/org.eclipse.cdt/all/org.eclipse.cdt.releng/results/test/eclipse/artifacts.jar
    [delete] Deleting: /opt/public/download-staging.priv/tools/cdt/releng/org.eclipse.cdt/all/org.eclipse.cdt.releng/results/test/eclipse/content.jar

    init:
    [echo] library file: /opt/public/download-staging.priv/tools/cdt/releng/org.eclipse.cdt/all/org.eclipse.cdt.releng/results/test/test/eclipse/library.xml

    cdt-core:

    init:

    ui-test:

    java-test:
    [echo] Running org.eclipse.cdt.core.suite.AutomatedIntegrationSuite. Result file: /opt/public/download-staging.priv/tools/cdt/releng/org.eclipse.cdt/all/org.eclipse.cdt.releng/results/I.I201004121351/testReports/org.eclipse.cdt.core.suite.AutomatedIntegrationSuite.xml.
    [java] log4j:WARN No appenders could be found for logger (org.jabsorb.JSONSerializer).
    [java] log4j:WARN Please initialize the log4j system properly.
    [java] JVMDUMP006I Processing dump event "systhrow", detail "java/lang/OutOfMemoryError" - please wait.
    [java] JVMDUMP032I JVM requested Snap dump using '/opt/public/download-staging.priv/tools/cdt/releng/org.eclipse.cdt/all/org.eclipse.cdt.releng/results/test/eclipse/Snap.20100412.144729.7141.0001.trc' in response to an event
    [java] JVMDUMP010I Snap dump written to /opt/public/download-staging.priv/tools/cdt/releng/org.eclipse.cdt/all/org.eclipse.cdt.releng/results/test/eclipse/Snap.20100412.144729.7141.0001.trc
    [java] JVMDUMP032I JVM requested Heap dump using '/opt/public/download-staging.priv/tools/cdt/releng/org.eclipse.cdt/all/org.eclipse.cdt.releng/results/test/eclipse/heapdump.20100412.144729.7141.0002.phd' in response to an event
    [java] JVMDUMP010I Heap dump written to /opt/public/download-staging.priv/tools/cdt/releng/org.eclipse.cdt/all/org.eclipse.cdt.releng/results/test/eclipse/heapdump.20100412.144729.7141.0002.phd
    [java] JVMDUMP032I JVM requested Java dump using '/opt/public/download-staging.priv/tools/cdt/releng/org.eclipse.cdt/all/org.eclipse.cdt.releng/results/test/eclipse/javacore.20100412.144729.7141.0003.txt' in response to an event
    [java] JVMDUMP010I Java dump written to /opt/public/download-staging.priv/tools/cdt/releng/org.eclipse.cdt/all/org.eclipse.cdt.releng/results/test/eclipse/javacore.20100412.144729.7141.0003.txt
    [java] JVMDUMP013I Processed dump event "systhrow", detail "java/lang/OutOfMemoryError".
    [java] java.lang.OutOfMemoryError
    [java] JVMDUMP006I Processing dump event "systhrow", detail "java/lang/OutOfMemoryError" - please wait.
    [java] JVMDUMP032I JVM requested Snap dump using '/opt/public/download-staging.priv/tools/cdt/releng/org.eclipse.cdt/all/org.eclipse.cdt.releng/results/test/eclipse/Snap.20100412.144754.7141.0004.trc' in response to an event
    [java] JVMDUMP010I Snap dump written to /opt/public/download-staging.priv/tools/cdt/releng/org.eclipse.cdt/all/org.eclipse.cdt.releng/results/test/eclipse/Snap.20100412.144754.7141.0004.trc
    [java] JVMDUMP032I JVM requested Heap dump using '/opt/public/download-staging.priv/tools/cdt/releng/org.eclipse.cdt/all/org.eclipse.cdt.releng/results/test/eclipse/heapdump.20100412.144754.7141.0005.phd' in response to an event
    [java] JVMDUMP010I Heap dump written to /opt/public/download-staging.priv/tools/cdt/releng/org.eclipse.cdt/all/org.eclipse.cdt.releng/results/test/eclipse/heapdump.20100412.144754.7141.0005.phd
    [java] JVMDUMP032I JVM requested Java dump using '/opt/public/download-staging.priv/tools/cdt/releng/org.eclipse.cdt/all/org.eclipse.cdt.releng/results/test/eclipse/javacore.20100412.144754.7141.0006.txt' in response to an event
    [java] JVMDUMP010I Java dump written to /opt/public/download-staging.priv/tools/cdt/releng/org.eclipse.cdt/all/org.eclipse.cdt.releng/results/test/eclipse/javacore.20100412.144754.7141.0006.txt
    [java] JVMDUMP013I Processed dump event "systhrow", detail "java/lang/OutOfMemoryError".
    [java] at org.apache.xerces.dom.CoreDocumentImpl.createElementjava.lang.OutOfMemoryError(Unknown Source)
    [java]
    [java] at org.apache.xerces.dom.CoreDocumentImpl. at importNodeorg.eclipse.core.internal.jobs.DeadlockDetector(Unknown Source).resizeGraph(DeadlockDetector.java:630)
    [java] at org.eclipse.core.internal.jobs.DeadlockDetector.lockAcquired(DeadlockDetector.java:290)
    [java] at org.eclipse.core.internal.jobs.LockManager.addLockThread(LockManager.java:141)
    [java] at org.eclipse.core.internal.jobs.OrderedLock.setCurrentOperationThread(OrderedLock.java:267)
    [java] at org.eclipse.core.internal.jobs.OrderedLock.attempt(OrderedLock.java:
    [java] at org.apache.xerces.dom.CoreDocumentImpl.importNode(Unknown Source)
    [java] at 122)
    [java] at org.eclipse.core.internal.jobs.OrderedLock.createSemaphore(OrderedLock.java:141)
    [java] at org.eclipse.core.internal.jobs.OrderedLock.acquire(OrderedLock.java:100org.apache.xerces.dom.CoreDocumentImpl.importNode(Unknown Source))
    [java] at
    [java] org.apache.xerces.dom.CoreDocumentImpl at .org.eclipse.core.internal.jobs.OrderedLockimportNode.acquire(OrderedLock.java:82)
    [java] at org.eclipse.cdt.internal.core.CConfigBasedDescriptor.apply(CConfigBasedDescriptor.java:258)(Unknown Source)
    [java] at org.apache.xerces.dom.CoreDocumentImpl.importNode
    [java] (Unknown Source) at org.eclipse.cdt.internal.core.CConfigBasedDescriptor.saveProjectData(CConfigBasedDescriptor.java:613)
    [java] at org.eclipse.cdt.core.cdescriptor.tests.CDescriptorOldTests$5.
    [java] run at (org.apache.xerces.dom.CoreDocumentImplCDescriptorOldTests.java.:22importNode4(Unknown Source))
    [java]
    [java] at org.eclipse.cdt.internal.core.settings.model.xml.XmlProjectDescriptionStorage.importAddNode(XmlProjectDescriptionStorage.java:803)
    [java] at org.eclipse.cdt.internal.core.settings.model.xml.XmlProjectDescriptionStorage.createXmlElementCopy(XmlProjectDescriptionStorage.java:769)
    [java] at org.eclipse.cdt.internal.core.settings.model.xml.XmlProjectDescriptionStorage.copyElement(XmlProjectDescriptionStorage.java:795)
    [java] at org.eclipse.cdt.internal.core.settings.model.xml.XmlProjectDescriptionStorage.createWritableDescription(XmlProjectDescriptionStorage.java:282)
    [java] at org.eclipse.cdt.internal.core.settings.model.xml.XmlProjectDescriptionStorage.getProjectDescription(XmlProjectDescriptionStorage.java:247)
    [java] at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.getProjectDescriptionInternal(CProjectDescriptionManager.java:414)
    [java] at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.getProjectDescription(CProjectDescriptionManager.java:396)
    [java] at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.getProjectDescription(CProjectDescriptionManager.java:391)
    [java] at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.getProjectDescription(CProjectDescriptionManager.java:384)
    [java] at org.eclipse.cdt.internal.core.CConfigBasedDescriptorManager.doHandleEvent(CConfigBasedDescriptorManager.java:467)
    [java] at org.eclipse.cdt.internal.core.CConfigBasedDescriptorManager.access$0(CConfigBasedDescriptorManager.java:463)
    [java] at org.eclipse.cdt.internal.core.CConfigBasedDescriptorManager$1.handleEvent(CConfigBasedDescriptorManager.java:443)
    [java] at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.notifyListeners(CProjectDescriptionManager.java:2150)
    [java] at org.eclipse.cdt.internal.core.settings.model.SetCProjectDescriptionOperation.executeOperation(SetCProjectDescriptionOperation.java:141)
    [java] at org.eclipse.cdt.internal.core.model.CModelOperation.execute(CModelOperation.java:338)
    [java] at org.eclipse.cdt.internal.core.model.CModelOperation.run(CModelOperation.java:603)
    [java] at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)
    [java] at org.eclipse.cdt.internal.core.model.CModelOperation.runOperation(CModelOperation.javaJVMDUMP006I Processing dump event "systhrow", detail "java/lang/OutOfMemoryError" - please wait.
    [java] JVMDUMP032I JVM requested Snap dump using '/opt/public/download-staging.priv/tools/cdt/releng/org.eclipse.cdt/all/org.eclipse.cdt.releng/results/test/eclipse/Snap.20100412.144936.7141.0007.trc' in response to an event
    [java] JVMDUMP006I Processing dump event "systhrow", detail "java/lang/OutOfMemoryError" - please wait.
    [java] JVMDUMP010I Snap dump written to /opt/public/download-staging.priv/tools/cdt/releng/org.eclipse.cdt/all/org.eclipse.cdt.releng/results/test/eclipse/Snap.20100412.144936.7141.0007.trc
    [java] JVMDUMP032I JVM requested Snap dump using '/opt/public/download-staging.priv/tools/cdt/releng/org.eclipse.cdt/all/org.eclipse.cdt.releng/results/test/eclipse/Snap.20100412.144936.7141.0008.trc' in response to an event
    [java] JVMDUMP010I Snap dump written to /opt/public/download-staging.priv/tools/cdt/releng/org.eclipse.cdt/all/org.eclipse.cdt.releng/results/test/eclipse/Snap.20100412.144936.7141.0008.trc
    [java] JVMDUMP032I JVM requested Heap dump using '/opt/public/download-staging.priv/tools/cdt/releng/org.eclipse.cdt/all/org.eclipse.cdt.releng/results/test/eclipse/heapdump.20100412.144936.7141.0009.phd' in response to an event
    [java] JVMDUMP010I Heap dump written to /opt/public/download-staging.priv/tools/cdt/releng/org.eclipse.cdt/all/org.eclipse.cdt.releng/results/test/eclipse/heapdump.20100412.144936.7141.0009.phd
    [java] JVMDUMP032I JVM requested Java dump using '/opt/public/download-staging.priv/tools/cdt/releng/org.eclipse.cdt/all/org.eclipse.cdt.releng/results/test/eclipse/javacore.20100412.144936.7141.0011.txt' in response to an event
    [java] JVMDUMP010I Java dump written to /opt/public/download-staging.priv/tools/cdt/releng/org.eclipse.cdt/all/org.eclipse.cdt.releng/results/test/eclipse/javacore.20100412.144936.7141.0011.txt
    [java] JVMDUMP013I Processed dump event "systhrow", detail "java/lang/OutOfMemoryError".
    [java] JVMDUMP032I JVM requested Heap dump using '/opt/public/download-staging.priv/tools/cdt/releng/org.eclipse.cdt/all/org.eclipse.cdt.releng/results/test/eclipse/heapdump.20100412.144936.7141.0010.phd' in response to an event
    [java] JVMDUMP010I Heap dump written to /opt/public/download-staging.priv/tools/cdt/releng/org.eclipse.cdt/all/org.eclipse.cdt.releng/results/test/eclipse/heapdump.20100412.144936.7141.0010.phd
    [java] JVMDUMP032I JVM requested Java dump using '/opt/public/download-staging.priv/tools/cdt/releng/org.eclipse.cdt/all/org.eclipse.cdt.releng/results/test/eclipse/javacore.20100412.144936.7141.0012.txt' in response to an event
    [java] JVMDUMP010I Java dump written to /opt/public/download-staging.priv/tools/cdt/releng/org.eclipse.cdt/all/org.eclipse.cdt.releng/results/test/eclipse/javacore.20100412.144936.7141.0012.txt
    [java] JVMDUMP013I Processed dump event "systhrow", detail "java/lang/OutOfMemoryError".
    [java] :Exception in thread "[Timer] - Main Queue Handler" java.lang.OutOfMemoryErrorjava.lang.OutOfMemoryError
    [java]
    [java] at org.eclipse.core.internal.jobs.DeadlockDetector.resizeGraph(DeadlockDetector.java at :org.eclipse.equinox.internal.util.impl.tpt.threadpool.ThreadPoolFactoryImpl6.30execute0)(
    [java] ThreadPoolFactoryImpl.java at :org.eclipse.core.internal.jobs.DeadlockDetector9.4)lockAcquired
    [java] ( at DeadlockDetector.javaorg.eclipse.equinox.internal.util.impl.tpt.timer.TimerImpl:.2run9(0TimerImpl.java):
    [java] 1 at 1org.eclipse.core.internal.jobs.LockManager0.addLockThread(LockManager.java:)14
    [java] 1 at )java.lang.Thread
    [java] .run at (org.eclipse.core.internal.jobs.OrderedLockThread.java.:setCurrentOperationThread73(Exception in thread "Thread-2976" OrderedLock.java5:)java.lang.OutOfMemoryError
    [java]
    [java] 267)
    [java] at org.eclipse.core.internal.jobs.OrderedLock.attempt(OrderedLock.java: at 1java.nio.CharBuffer2.wrap(2)
    [java] CharBuffer.java at :org.eclipse.core.internal.jobs.OrderedLock3.6createSemaphore2()OrderedLock.java
    [java] : at 1sun.nio.cs.StreamEncoder$CharsetSE4.1implWrite)(
    [java] StreamEncoder.java at :org.eclipse.core.internal.jobs.OrderedLock3.8acquire7()OrderedLock.java
    [java] : at 1sun.nio.cs.StreamEncoder00.)write
    [java] ( at StreamEncoder.javaorg.eclipse.core.internal.jobs.OrderedLock:.1acquire4(7)
    [java] OrderedLock.java at :java.io.OutputStreamWriter8.2write)(
    [java] OutputStreamWriter.java: at 2org.eclipse.core.internal.resources.WorkManager1.8endUnprotected)
    [java] ( at WorkManager.javajava.io.BufferedWriter:.1flushBuffer81()BufferedWriter.java
    [java] : at 1org.eclipse.core.internal.resources.Workspace2.2)
    [java] at java.io.PrintStream.write(PrintStream.java:489)
    [java] at java.io.PrintStream.print(runPrintStream.java(:Workspace.java6:3129)6
    [java] 6 at )java.io.PrintStream
    [java] .append( at PrintStream.javaorg.eclipse.cdt.internal.core.model.CModelOperation:.1runOperation0(28CModelOperation.java):
    [java] 6 at 3java.io.PrintStream5.)append
    [java] ( at PrintStream.javaorg.eclipse.cdt.internal.core.settings.model.AbstractCProjectDescriptionStorage:.4setProjectDescription0()AbstractCProjectDescriptionStorage.java
    [java] : at 2java.lang.StackTraceElement0.appendTo(3StackTraceElement.java):
    [java] at 1org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionStorageManager8.0setProjectDescription)(
    [java] CProjectDescriptionStorageManager.java at :java.lang.StackTraceElement1.appendTo(StackTraceElement.java:41617)
    [java] ) at
    [java] at java.lang.Throwable.printStackTrace(Throwable.java:375)
    [java] at java.lang.Throwable.printStackTrace(Throwable.java:212)
    [java] at java.lang.Throwable.printStackTrace(Throwable.java:163)
    [java] at org.eclipse.cdt.core.cdescriptor.tests.CDescriptorOldTests$5.run(CDescriptorOldTests.java:227)
    [java] org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.setProjectDescription(CProjectDescriptionManager.java:816)
    [java] at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.setProjectDescription(CProjectDescriptionManager.java:786)
    [java] at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.setProjectDescription(CProjectDescriptionManager.java:781)
    [java] at org.eclipse.cdt.internal.core.CConfigBasedDescriptor$SerializingJob.serialize(CConfigBasedDescriptor.java:130)
    [java] at org.eclipse.cdt.internal.core.CConfigBasedDescriptor.apply(CConfigBasedDescriptor.java:259)
    [java] at org.eclipse.cdt.internal.core.CConfigBasedDescriptor.saveProjectData(CConfigBasedDescriptor.java:613)
    [java] at org.eclipse.cdt.core.cdescriptor.tests.CDescriptorOldTests$5.run(CDescriptorOldTests.java:224)



    Regards,

    Vivian Kong
    IBM Eclipse CDT
    IBM Canada Toronto Lab

    Inactive hide details for John Cortell ---04/09/2010 06:41:18 PM---I've added the new feature     /cvsroot/tools/org.eclipse.cdJohn Cortell ---04/09/2010 06:41:18 PM---I've added the new feature /cvsroot/tools/org.eclipse.cdt/all/org.eclipse.cdt.gdb-feature


    From:

    John Cortell <rat042@xxxxxxxxxxxxx>

    To:

    "CDT General developers list." <cdt-dev@xxxxxxxxxxx>, "CDT General developers list." <cdt-dev@xxxxxxxxxxx>, "CDT General developers list." <cdt-dev@xxxxxxxxxxx>, <cdt-dev@xxxxxxxxxxx>

    Cc:

    <cdt-dev-bounces@xxxxxxxxxxx>

    Date:

    04/09/2010 06:41 PM

    Subject:

    RE: [cdt-dev] Nightly build broken

    Sent by:

    cdt-dev-bounces@xxxxxxxxxxx





    I've added the new feature

       /cvsroot/tools/org.eclipse.cdt/all/org.eclipse.cdt.gdb-feature

    to encapsulate the two new common gdb plugins, and have hopefully
    updated all the necessary files to establish the proper build-time
    dependencies.

    John




    _______________________________________________
    cdt-dev mailing list

    cdt-dev@xxxxxxxxxxx
    https://dev.eclipse.org/mailman/listinfo/cdt-dev



    _______________________________________________
    cdt-dev mailing list

    cdt-dev@xxxxxxxxxxx
    https://dev.eclipse.org/mailman/listinfo/cdt-dev
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev



_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev


GIF image

GIF image


Back to the top