> David Saint wrote:
> > For the past couple of weeks I've been getting the following 
> > OutOfMemoryError while running "make precommit" on sipXconfig. I 
> > thought at first it was due to running Fedora8 (64bit), but 
> I've just 
> > upgraded to Fedora10
> > (64bit)
> > and I still see this error. My system has 2Gb of RAM.
> > 
> > TEST org.sipfoundry.sipxconfig.site.service.EditSipxServiceTestUi 
> > FAILED Running 
> > org.sipfoundry.sipxconfig.site.service.ListConfiguredServicesTestUi
> > Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec TEST 
> > org.sipfoundry.sipxconfig.site.service.ListConfiguredServicesTestUi
> > FAILED
> > Running org.sipfoundry.sipxconfig.site.setting.EditScheduleTestUi
> > Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec TEST 
> > org.sipfoundry.sipxconfig.site.setting.EditScheduleTestUi FAILED 
> > Running org.sipfoundry.sipxconfig.site.setting.GroupSettingsTestUi
> > Exception in thread "main" java.lang.OutOfMemoryError: PermGen space
> > 
> > Is there a way to work around this, perhaps allocating more 
> memory to 
> > java?
> > 
> > Dave.
> 
> 
> Quick poll: Is anybody else developing sipXconfig on 64-bit 
> platform? If so
> - what JVM are you using?
> 
> 
> Long shot but try deleting bin.eclipse files
> 
> find -type d -name bin.eclipse | xargs rm -fr
> 
> And see if it helps.
> 
> You may also try switching to another JVM.
> 
> There are switches to increase PermGen space but they are JVM 
> specific (google Xmm:MaxPermSize)
> 
> 
> D.
> 

Looks like the problem was with the JVM, the IBM java doesn't work:
  /usr/lib/jvm/jre-1.6.0-ibm/bin/java
  /usr/lib/jvm/java-1.6.0-ibm/bin/javac
but the open source java does work OK (the Sun java is also OK):
  /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/bin/java
  /usr/lib/jvm/java-1.6.0-openjdk.x86_64/bin/javac
although there's one failure reported in BranchesPageTestUi
(it passes when run individually, but fails during the precommit test)

Thanks...
Dave.
  
_______________________________________________
sipx-dev mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
sipXecs IP PBX -- http://www.sipfoundry.org/

Reply via email to