Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialGerardo Gomez
1,845 PointsPicked up JAVA_TOOL_OPTIONS: -Xmx128m
I get this error now when compiling and or running java It broke and I know because I am using the built in console workspace I probably cannot fix this and Treehouse needs to? Let me know! I am currently downloading the JDK and will do this on my laptop, but I like using workspaces.
5 Answers
Nathan Williams
Python Web Development Techdegree Student 6,851 PointsThis isn't an error, it's an informational message from the JVM about an option we enabled in Workspaces to help prevent the JVM from snagging too much RAM and killing user processes. You can just ignore that line in the output.
Nathan Williams
Python Web Development Techdegree Student 6,851 Pointshey john,
that's exactly right. there's no problem with changing that, but be aware that if the process consumes too much memory, it will be killed by the operating system's OOM-killer. we set the 128M as a sane default to prevent this, and it's more than adequate for all of the tasks we have students working on as part of their coursework.
cheers,
nathan
John Marley
8,740 PointsI came across an error like this when trying to mod Minecraft (and proud of it)
It is to do with how much memory Java is allocated. The Xmx-128 has to do with the heap space.
I highly recommend Treehouse's workspace and I hope I am not breaching any terms and conditions with this fix: the following should help you to increase the java heap space.
shay elbaz
2,885 Pointsbut I goy this problem on Mac my friend
Mechelle Sieglitz
2,806 PointsI'm having the same issue using the Workspace
Sheree Taylor
538 PointsHow do you get it to compile in Treehouse Workspaces when you're receiving Picked up JAVA_TOOL_OPTIONS: - Xmx128m and Picked up JAVA_OPTIONS: - Xmx128m?
Jonathan Ruiz
1,355 PointsJonathan Ruiz
1,355 PointsHi, I get the same problem, and i cant compile and run anything because it always comes up that thing, and i installed netbeans 8.1 on my mac but don't know how to use it, please help!
Jose Aguirre
14,866 PointsJose Aguirre
14,866 PointsLine is ignored, but program will not compile, thus program will not run.