java.io.IOException: Cannot run program "/usr/local/bin/identify": java.io.IOException: error=12, Cannot allocate memory

Errors similar to the following may occur if you are running Asset Bank on a Linux server (the program may be something other than /usr/local/bin/identify but the rest of the error message is the same):

java.io.IOException: Cannot run program "/usr/local/bin/identify":
java.io.IOException: error=12, Cannot allocate memory

These errors are called by the fork() system call failing because the linux kernel cannot commit enough memory to make a temporary copy of the java process (more discussion of this issue here).

Our recommended fix for this issue is to add more Linux swap space (you can use a swap file if you are unable/unwilling to add more swap partitions).


Was this article helpful?

Yes No

Thanks for your feedback!