Out of memory when editing a large Javascript file

I'm getting an OOME dialog whenever I attempt to open a large (12000 lines or so) javascript file.  Any ideas how to work around this?  Intellij has 2GB of memory to play with, so it's definitely not that :)

0

If the problem reproduces after cache invalidation then please attach
idea.log file.

On 25.05.2011 22:16, Matt Whelan wrote:

I'm getting an OOME dialog whenever I attempt to open a large (12000 lines or so) javascript file.  Any ideas how to work around this?  Intellij has 2GB of memory to play with, so it's definitely not that :)

>

---
Original message URL: http://devnet.jetbrains.net/message/5304328#5304328



--
Best regards,
   Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Avatar
Permanently deleted user

Cache invalidation seems to have fixed it.  Thanks!

If that's a common fix for this sort of thing, perhaps it would be worth doing automatically when the user hits shutdown from the OOME dialog.  

0
Avatar
Permanently deleted user

It happened again.  I'm attaching the Idea.log file, which is full of JS plugin NPEs.



Attachment(s):
idea.log.zip
0

NPE is fixed in Idea 10.5.1 EAP build

0

请先登录再写评论。