Message684

Author leouserz
Recipients
Date 2006-12-21.16:26:49
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
System.exit occurs in jython.java and Py.java.  Look at maybeExit and the SystemExit class and Py.java.

It would be great to have a test case that reproduces this.  From running this code in the interpreter:
>>> import java.lang as jl
>>> a = []
>>> for z in xrange(6000000):
...    a.append(jl.Long(z))

The OutOfMemory error is produced but it does not cause Jython to exit.

leouser

History
Date User Action Args
2008-02-20 17:17:07adminlinkissue580170 messages
2008-02-20 17:17:07admincreate