September 14th, 2011, 02:39 AM
How to prevent or stop generation of core file while running code on unix box.
Please help while i am running my jar file on aix box a core file is being generated.Kindly,provide me the solution so that no core file is generated.which environment variable i need to set it?
September 14th, 2011, 01:18 PM
the shell command
ulimit -c 0
September 14th, 2011, 11:20 PM
September 15th, 2011, 10:31 AM
I don't know which program produces core files. The shell? Somewhere in the OS? Consider posing your question to the java group. If java produces core files it might ignore a coresize limit. I keep the coresize limit in my shell startup file. Anyway, I proposed this:
shell_prompt$ ulimit -c 0
shell_prompt$ java worms_in_a.jar
The ulimit shell command might have a different name in another shell. I use the born again shell.
Last edited by b49P23TIvg; September 15th, 2011 at 10:37 AM.
Reason: additional information supplied