What means "Terminated"? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 10

What means "Terminated"?

Sometimes when I run a code I get "Terminated" as output. Because of time limit or memory limit? Or slow connection?

27th Nov 2019, 6:33 PM
Denise Roßberg
Denise Roßberg - avatar
5 Answers
+ 7
It means that it's an unhelpful error message.
28th Nov 2019, 9:27 AM
Sonic
Sonic - avatar
+ 3
Sonic Yes. I am wondering about it. We had a time limit exceed message and same for memory limit. No "an error occurs", no "check your internet connection" anymore but now...
28th Nov 2019, 2:13 PM
Denise Roßberg
Denise Roßberg - avatar
+ 3
That's also a way of doing something about a problem - just change the report. 😜 But it is a bit better nowadays than it was a while ago, whatever they did to accomplish it.
28th Nov 2019, 5:44 PM
HonFu
HonFu - avatar
+ 2
In case of Java, terminated means that the execution (of your program, or tool, ...) is complete and the JVM exited. It is not an indication that anything has gone wrong in itself. Whether your program exits with no error, or with a nasty stack trace, you'll see this message. Normally, if a program has sent anything to system.out or System.err, you would see it in the console, though. There are additional suggestions here. https://stackoverflow.com/questions/18504493/no-console-output-in-eclipse-juno
29th Nov 2019, 6:19 AM
Ahnaf
Ahnaf - avatar
+ 1
May be because of exception arises which is uncaught, i think...
27th Nov 2019, 6:45 PM
Jayakrishna 🇮🇳