Cannot run program \"/usr/bin/python\": [..] java.io.IOException: java.io.IOException: error=12, Cannot allocate memory

Bug #799364 reported by Philipp C. Heckel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Syncany
New
Low
Unassigned

Bug Description

I received this error via the crash report dialog a while ago:

org.syncany.exceptions.InitializationException: java.io.IOException: Cannot run program \"/usr/bin/python\": java.io.IOException: error=12, Cannot allocate memory
       at org.syncany.gui.linux.LinuxNativeClient.startService(LinuxNativeClient.java:336)
       at org.syncany.gui.linux.LinuxNativeClient.init(LinuxNativeClient.java:86)
       at org.syncany.gui.tray.linux.LinuxTray.init(LinuxTray.java:51)
       at org.syncany.Application.initUI(Application.java:175)
       at org.syncany.Application.start(Application.java:105)
       at org.syncany.Syncany.start(Syncany.java:92)
       at org.syncany.Syncany.main(Syncany.java:49)
Caused by: java.io.IOException: Cannot run program \"/usr/bin/python\": java.io.IOException: error=12, Cannot allocate memory
       at java.lang.ProcessBuilder.start(ProcessBuilder.java:475)
       at org.syncany.gui.linux.LinuxNativeClient.startService(LinuxNativeClient.java:263)
       ... 6 more
Caused by: java.io.IOException: java.io.IOException: error=12, Cannot allocate memory
       at java.lang.UNIXProcess.<init>(UNIXProcess.java:164)
       at java.lang.ProcessImpl.start(ProcessImpl.java:81)
       at java.lang.ProcessBuilder.start(ProcessBuilder.java:468)
       ... 7 more

Although I am not sure how to fix this, the cause is obviously not enough available RAM. As an immediate reaction to this, I reduced the "minimum" RAM from 512 MB to 256 MB via Java's -Xms parameter.

If this bug occurs again, please let me know

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.