Gregor, --- On Tue, 4/13/10 at 1:19 PM, Gregor Schneider <rc4...@googlemail.com> wrote:
> > > > -XX:OnOutOfMemoryError=/usr/sbin/restart_tcserver > > > I'm not aware of that option within my standard sun jdk > 1.6.x - what > Java-version are you running offering this really useful > feature? > I wasn't aware of it either. >From http://java.sun.com/javase/technologies/hotspot/vmoptions.jsp -XX:OnOutOfMemoryError="<cmd args>;<cmd args>" Run user-defined commands when an OutOfMemoryError is first thrown. (Introduced in 1.4.2 update 12, 6) - Bob --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org