Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.7.0.pre1
-
Fix Version/s: JRuby 1.7.0.pre2
-
Component/s: None
-
Labels:None
-
Environment:Hidejruby 1.7.0.dev (ruby-1.9.3-p28) (2012-02-17 05158ac) (OpenJDK 64-Bit Server VM 1.7.0-u4-b228) [darwin-amd64-java]
Darwin camp.local 11.2.0 Darwin Kernel Version 11.2.0: Tue Aug 9 20:54:00 PDT 2011; root:xnu-1699.24.8~1/RELEASE_X86_64 x86_64
Showjruby 1.7.0.dev (ruby-1.9.3-p28) (2012-02-17 05158ac) (OpenJDK 64-Bit Server VM 1.7.0-u4-b228) [darwin-amd64-java] Darwin camp.local 11.2.0 Darwin Kernel Version 11.2.0: Tue Aug 9 20:54:00 PDT 2011; root:xnu-1699.24.8~1/RELEASE_X86_64 x86_64
-
Number of attachments :
Description
System is 2011 mbp, 4gb memory
> cd /Users/peter/.rvm/rubies/jruby-head/
> ant cext
Buildfile: /Users/peter/.rvm/rubies/jruby-head/build.xml...
The system is out of resources.
[apt] Consult the following stack trace for details.
[apt] java.lang.OutOfMemoryError: GC overhead limit exceeded
[apt] at java.util.HashMap.addEntry(HashMap.java:766)
Full stack here:
http://pastie.org/3409026
.. quit all applications, try again
Fuller stack here:
http://pastie.org/3409030
Peter,
This is most likely your machine. http://www.petefreitag.com/item/746.cfm
Are you sure you've terminated all your applications? No memory hogs?
Furthermore, the ant output suggests that your machine is running out of resources while ant is executing compile-jruby target. It has nothing to do with C extension.