At 11:06 PM +0100 12/26/07, Vladimir Sizikov wrote:
>Guys,
>
>That's the revision 5360 that causes the permgen failure.

Same result on MacOS X 10.4.11, Java 1.5.0_13

Tests pass in 5359, fail in 5360:

This is what changed:

$ svn up -r5360
U    src/org/jruby/javasupport/JavaClass.java
U    src/org/jruby/javasupport/JavaObject.java
U    src/org/jruby/javasupport/JavaSupport.java
U    src/org/jruby/javasupport/JavaUtil.java
U    src/org/jruby/javasupport/Java.java
A    src/org/jruby/javasupport/util/ObjectProxyCache.java

Here's the error:

    [junit] Testsuite: org.jruby.test.RubyTestTestSuite
    [junit] could not compile: 
test/externals/ruby_test/test/core/String/instance/tc_delete_generated_test.rb 
because of: "PermGen space"
    [junit] java.lang.OutOfMemoryError: PermGen space
    [junit]     at java.lang.ClassLoader.defineClass1(Native Method)
    [junit]     at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    [junit]     at java.lang.ClassLoader.defineClass(ClassLoader.java:465)
    [junit]     at 
org.jruby.util.JRubyClassLoader.defineClass(JRubyClassLoader.java:17)
    [junit]     at 
org.jruby.compiler.impl.StandardASMCompiler.loadClass(StandardASMCompiler.java:159)
    [junit]     at org.jruby.Ruby.tryCompile(Ruby.java:566)
    [junit]     at org.jruby.Ruby.tryCompile(Ruby.java:551)
    [junit]     at org.jruby.Ruby.runNormally(Ruby.java:532)
    [junit]     at org.jruby.Ruby.executeScript(Ruby.java:443)
    [junit]     at 
org.jruby.test.TestUnitTestSuite$ScriptTest.runTest(TestUnitTestSuite.java:191)
    [junit]     at junit.framework.TestCase.runBare(TestCase.java:127)
    [junit]     at junit.framework.TestResult$1.protect(TestResult.java:106)
    [junit]     at junit.framework.TestResult.runProtected(TestResult.java:124)
    [junit]     at junit.framework.TestResult.run(TestResult.java:109)
    [junit]     at junit.framework.TestCase.run(TestCase.java:118)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:208)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java:203)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:421)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:912)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:743)
    [junit] could not compile: 
test/externals/ruby_test/test/core/String/instance/tc_downcase_generated_test.rb
 because of: "PermGen space"
    [junit] java.lang.OutOfMemoryError: PermGen space
    [junit] could not compile: 
test/externals/ruby_test/test/core/String/instance/tc_dump_generated_test.rb 
because of: "PermGen space"
    [junit] java.lang.OutOfMemoryError: PermGen space
    [junit] could not compile: 
test/externals/ruby_test/test/core/String/instance/tc_empty_generated_test.rb 
because of: "PermGen space"
    [junit] java.lang.OutOfMemoryError: PermGen space
    [junit] could not compile: 
test/externals/ruby_test/test/core/String/instance/tc_eql_generated_test.rb 
because of: "PermGen space"
    [junit] java.lang.OutOfMemoryError: PermGen space
    [junit] could not compile: 
test/externals/ruby_test/test/core/String/instance/tc_equality_generated_test.rb
 because of: "PermGen space"
    [junit] java.lang.OutOfMemoryError: PermGen space
    [junit] could not compile: 
test/externals/ruby_test/test/core/String/instance/tc_format_generated_test.rb 
because of: "PermGen space"
    [junit] java.lang.OutOfMemoryError: PermGen space
    [junit] java.lang.OutOfMemoryError: PermGen space
    [junit] could not compile: 
test/externals/ruby_test/test/core/String/instance/tc_hex_generated_test.rb 
because of: "PermGen space"
    [junit] java.lang.OutOfMemoryError: PermGen space
    [junit] java.lang.OutOfMemoryError: PermGen space
    [junit] could not compile: 
test/externals/ruby_test/test/core/String/instance/tc_index_generated_test.rb 
because of: "PermGen space"
    [junit] java.lang.OutOfMemoryError: PermGen space
    [junit] java.lang.OutOfMemoryError: PermGen space
    [junit] could not compile: 
test/externals/ruby_test/test/core/String/instance/tc_intern_generated_test.rb 
because of: "PermGen space"
    [junit] java.lang.OutOfMemoryError: PermGen space
    [junit] java.lang.OutOfMemoryError: PermGen space
    [junit] could not compile: 
test/externals/ruby_test/test/core/String/instance/tc_ljust_generated_test.rb 
because of: "PermGen space"
    [junit] java.lang.OutOfMemoryError: PermGen space
    [junit] java.lang.OutOfMemoryError: PermGen space
    [junit] could not compile: 
test/externals/ruby_test/test/core/String/instance/tc_match_generated_test.rb 
because of: "PermGen space"
    [junit] java.lang.OutOfMemoryError: PermGen space
    [junit] java.lang.OutOfMemoryError: PermGen space
    [junit] could not compile: 
test/externals/ruby_test/test/core/String/instance/tc_reverse_generated_test.rb 
because of: "PermGen space"
    [junit] java.lang.OutOfMemoryError: PermGen space
    [junit] Exception in thread "main" java.lang.OutOfMemoryError: PermGen space

BUILD FAILED
/Users/stephen/dev/jruby_test/build.xml:457: The following error occurred while 
executing this line:
/Users/stephen/dev/jruby_test/build.xml:560: Tests failed (crashed)

Here's line 560 in build.xml:

<junit fork="yes" forkMode="once" haltonfailure="true" dir="${basedir}" 
maxmemory="${jruby.test.memory}" showoutput="true" timeout="600000">

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to