You have been subscribed to a public bug:

When I start a java program with high memory usage ("-Xmx52g") by shell,
everything is working well. However if I start the same program with the
same command and same user by CRON, I get a java.lang.OutOfMemoryError
just after a few seconds.

Additionally CRON isn't able to do anything as long as I don't kill the
blocked java program. No matter which cronjob should be started, it
always ends up with "(CRON) error (can't fork)" in syslog. After killing
the java program all new cronjobs are working fine again.

The problem only occurs with Ubuntu 16.04, all older versions worked
very well.

** Affects: cron (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: bot-comment
-- 
OOM using CRON but not using SHELL under 16.04
https://bugs.launchpad.net/bugs/1582692
You received this bug notification because you are a member of Ubuntu Touch 
seeded packages, which is subscribed to cron in Ubuntu.

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to