[tei-council] Roma returns error: unable to create new native thread

Hugh Cayless philomousos at gmail.com
Wed Feb 12 12:07:39 EST 2014


An OutOfMemoryError definitely indicates restarting whatever process is issuing it. Depending on whether that process is running under Tomcat or not, restarting Tomcat may or may not help. Some things may still work, but whether stuff works or not will essentially be random. I got one generating a DTD.

In essence it’s a Bad Thing :-)

/**
 *  Hugh A. Cayless, Ph.D
 *  hugh.cayless at duke.edu
 *  Duke Collaboratory for Classics Computing (DC3)
 *  http://blogs.library.duke.edu/dcthree/
**/


On Feb 12, 2014, at 11:42 , James Cummings <James.Cummings at it.ox.ac.uk> wrote:

> 
> I've emailed Sebastian (as person likely to know what broke) and 
> Ian Rifkin (as TEI-C Sysadmin). Restarting Tomcat might indeed 
> solve it. I get a warning about duplicate XML declarations. I 
> don't know if the 'tei' user on tei-c.org can restart tomcat or not.
> 
> My suspicion would be that it is OxGarage (on tei-c.org) that is 
> the problem since we don't hit it until generating a schema.
> 
> Interestingly, testing right now shows that I only get the error 
> when generating a RelaxNG Compact Syntax, the Relax NG XML Syntax 
> seems to be fine.
> 
> -James
> 
> On 12/02/14 16:38, Martin Holmes wrote:
>> I confirmed Peter's report on TEI-L -- I just tried to generate a
>> RelaxNG XML schema from tei_all and got the same result.
>> 
>> Time to restart Tomcat? Where is Roma running these days?
>> 
>> Cheers,
>> Martin
>> 
>> On 14-02-12 07:59 AM, Peter Boot wrote:
>>> This is what any attempt to generate a schema results in:
>>> 
>>> <?xml version="1.0" encoding="UTF-8"?>
>>> <?xml version="1.0" encoding="UTF-8"?>
>>> <!-- *********************************************************************************************************** -->
>>> <!-- *********************************************************************************************************** -->
>>> <error msg="unable to create new native thread" exclass="class java.lang.OutOfMemoryError" >java.lang.OutOfMemoryError: unable to create new native thread
>>> 	at java.lang.Thread.start0(Native Method)
>>> 	at java.lang.Thread.start(Thread.java:597)
>>> 	at org.apache.commons.io.FileCleaningTracker.addTracker(FileCleaningTracker.java:141)
>>> 	at org.apache.commons.io.FileCleaningTracker.track(FileCleaningTracker.java:94)
>>> 	at org.apache.commons.io.FileCleaningTracker.track(FileCleaningTracker.java:77)
>>> 	at pl.psnc.dl.ege.utils.DataBuffer.allocate(DataBuffer.java:148)
>>> 	at pl.psnc.dl.ege.webapp.servlet.ConversionServlet.performConversion(ConversionServlet.java:323)
>>> 	at pl.psnc.dl.ege.webapp.servlet.ConversionServlet.doPost(ConversionServlet.java:259)
>>> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
>>> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>>> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>>> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>> 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>>> 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
>>> 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
>>> 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>>> 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>>> 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
>>> 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
>>> 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
>>> 	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
>>> 	at java.lang.Thread.run(Thread.java:619)
>>> </error>
>>> 
>>> <!-- *********************************************************************************************************** -->
>>> <!-- *********************************************************************************************************** -->
>>> 
>>> Peter Boot
>>> Senior researcher
>>> Huygens Institute for the History of the Netherlands (Royal Netherlands Academy of Arts and Sciences)
>>> http://www.huygens.knaw.nl/boot/
>>> http://peterboot.nl/
>>> Tel.: +31 (0)70 3315804
>>> 
> 
> 
> -- 
> Dr James Cummings, James.Cummings at it.ox.ac.uk
> Academic IT Services, University of Oxford
> -- 
> tei-council mailing list
> tei-council at lists.village.Virginia.EDU
> http://lists.village.Virginia.EDU/mailman/listinfo/tei-council
> 
> PLEASE NOTE: postings to this list are publicly archived



More information about the tei-council mailing list