M
M
mitaichik2016-03-19 18:59:10
Java
mitaichik, 2016-03-19 18:59:10

What's going on with memory in Java?

Hello everyone, I'm new to Java, maybe a lammer question: I
wrote an application, a bunch of threads are created and something is calculated. According to the idea, everything should go smoothly, without sudden allocations / releases of memory, and I expected that the memory graph would be straightforward, but the profiler shows this:
2ab6f9e9ea154b72b6cf82341aa73b47.png
Is it worth worrying about this behavior? Or is it ok?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
one pavel, 2016-03-19
@mitaichik

everything is fine, the memory grows during operation, then the GC cleans up and the heap is freed

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question