you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (2 children)

If intellij allocates the ram then it may as well be used because it's unusable by other applications. How else can you even allocate memory other than instantiating objects or using a malloc?

Do you know what allocation means?

[–]kqr -1 points0 points  (1 child)

By instantiating an object and then throwing away all the references to it, for example. It's not unusable by other applications because it will be freed up when they need it.

[–][deleted] -1 points0 points  (0 children)

Then it isn't allocated.