This could be due to a bug in the program, but more likely, the
limits set in your environment in terms of memory are not adequate for
the static (heap) allocation performed by some programs when they are
started. To see your limits, type
the appropriate limits in the following manner
ulimit with the appropriate syntax):
limit datasize unlimited limit stacksize unlimited limit memoryuse unlimited
If this doesn't change your limit, you need to change the global hard limits as root (how you do this depends on your system and the shell you use).