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 trial

General Discussion

Brendon Butler
Brendon Butler
4,254 Points

Filter out "Picked up" lines?

Is it possible to have the "Picked up" lines filtered out so that it doesn't interfere with our programs? I feel this would really clean up workspaces and it shouldn't really be that hard to do I think.

Brendon Butler
Brendon Butler
4,254 Points

Sorry, I wrote this pretty quick and it most likely only applies to the Java workspaces.

But when you run Java commands through the console, it says "Picked Up" then some java runtime arguments (specifically about allocating RAM to the runtime). It used to just run your program without outputting any text to the console that you didn't purposely output.

Steven Parker
Steven Parker
231,236 Points

I'll leave this one for someone familiar with Java then.

Brendon Butler
Brendon Butler
4,254 Points

It would actually be more for site developers or some administrator of some sort. Maybe Craig Dennis (the Java instructor)?

Steven Parker
Steven Parker
231,236 Points

Let's try tagging Craig Dennis and see if he responds.

1 Answer

Craig Dennis
STAFF
Craig Dennis
Treehouse Teacher

It's an unfortunate bug that was still not fixed in Java 9. We are giving specific memory to each workspace, and when you do that, the debugging statement is included.

I agree that it shouldn't be hard, but at the moment, it's how it works. Sorry :( I really wish it wasn't there too! But I know that you appreciate that extra memory more than you know....it was pretty slow before we fixed it.

Brendon Butler
Brendon Butler
4,254 Points

Not your fault. Dont worry about it. I just feel like whatever implementation of the console in workspaces should have a way to filter out the message so that it doesn't get sent to the user. If it's not possible currently, that's fine. Thanks for your input!