Why is java eating up so much memory

  • 9
  • 26

Hi friends, I have a problem and I would need some help.
My PyCharm is constantly giving me "Out of memory" error.
Current Xmx is set to 750,
XX:MaxPermSize is 1024 and
XX:ReservedCodeCacheSize is 100.

Not to mention the fan is going like crazy. My PC is i7, 8GB of ram, on this I don't think I should be out of ram at all. I have few tabs on Chrome and terminal opened and nothing else.

I am running PyCharm 2.7 and have Java 1.7.0_21 installed on Ubuntu 12.04.LTS

What do you think the problem cold be (something to do with Java?) and how could I amend that. I really like PyCharm, but this way is constantly interrupting my workflow and making hard for me to concentrate on my work thus productivity is quite low for the last few days. I would not like to change it to some other editor but I will if I have to.
Most likely the problem happens either because PyCharm's indexes are corrupted or because it tries to index some file which is too large. Could you please attach the log file (Help | Reveal Logs) so that we could look into the issue?
--
Dmitry Jemerov, Chief Technology Officer, JetBrains

Hi Dimitry,

I have attached todays log.

threadDump-20130617-131528.txt (66KB)

Please attach the log file (idea.log), not the thread dumps file.
--
Dmitry Jemerov, Chief Technology Officer, JetBrains

Sorry, here you go.

thanx,
Erika

idea.log (388KB)

Thanks!
Do you have any large .css files under your project directory?
--
Dmitry Jemerov, Chief Technology Officer, JetBrains

My whole static folder (includes all css, all images, all js) is 8.6MB - there is submodule involved in css folder

In which environment are you working?

I am working in Ubuntu 12.04 LTS

thanks,
Erika

On 20. jun. 2013, at 15:15, gilcu2 - PyCharm <jetforum@jetbrains.com> wrote:

eating up so much memory <http://forum.jetbrains.com/thread/PyCharm-1547> *[
memory<http://forum.jetbrains.com/tag/PyCharm-memory>
am<http://forum.jetbrains.com/thread/PyCharm-1547?message=PyCharm-1547-7>
gilcu2 <http://forum.jetbrains.com/user/gilcu2>

In which environment are you working?

ercchy <http://forum.jetbrains.com/user/ercchy> @ Jun
18<http://forum.jetbrains.com/thread/PyCharm-1547?message=PyCharm-1547-6>

My whole static folder (includes all css, all images, all js) is 8.6MB -
there is submodule involved in css folder

JetBrains Forum | Build #171 (Jun/07/2013 10:26AM) |
Feedback<http://confluence.jetbrains.net/display/JETF/Feedback>

On 20/06/13 18:39, ercchy - PyCharm wrote:

In my Ubuntu 12.10 it spend 3.4Gb virtual and 400Mb resident.
Bye
Gil