Next Previous Contents

5. Troubleshooting

5.1 General questions

When a program is run it core dumps immediately

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 limit (in tcsh). Set the appropriate limits in the following manner bash users should use 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).

Next Previous Contents