I'll start right away with the image of this strange error: 
As you can see, despite the fact that the application consumes over 3 GB of RAM, NetBeans stubbornly shows 200 MB of consumption.
In other projects (including this, until recently) everything works fine.
The list of tried me measures:
- Returned the memory-causing code leak and removed it again.
- Cleared and collected the project
- Launched the application without profiling
- Removed all calls to the System.out.println () function;
None of the above measures helped me.
The version of Netbeans I used is 8.1 (Build 201609300101) The Java version is 8.