dandye / teamcity-python

Automatically exported from code.google.com/p/teamcity-python
0 stars 0 forks source link

Python detector hangs when trying linux + openJDK + ironPython #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In combination linux + openJDK + ironPython the python detector hangs: 

Exception in thread "Thread-13" java.lang.OutOfMemoryError: Java heap space
    at java.util.Arrays.copyOf(Arrays.java:2798)
    at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:111)
    at jetbrains.buildServer.StreamGobbler.readBuffer(StreamGobbler.java:75)
    at jetbrains.buildServer.StreamGobbler.run(StreamGobbler.java:53)
The build TeamCity Plugins::Python detector #18119.4 {builId=1207640} has been 
running for more than 3 minutes. Terminating...
[Out of memory: Java heap space] {build.status.text}

Original issue reported on code.google.com by leonidos on 1 Dec 2011 at 8:15

GoogleCodeExporter commented 9 years ago
The problem is the "-X:TabCompletion" option. When I remove this option, all 
works fine.

The option is specified in the '/usr/bin/ipy' shell script. So, the solution is 
to run mono and python without this script:

/usr/lib/ironpython/ipy.exe

Original comment by leonidos on 3 Dec 2011 at 11:55

GoogleCodeExporter commented 9 years ago
Now hunter will ignore 'ipy' shell script and use only .exe file.

Original comment by leonidos on 4 Dec 2011 at 12:07