WebStorm - out of memory

 Hey, I have some problem:

 

#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 870368 bytes for Chunk::new
# Possible reasons:
# The system is out of physical RAM or swap space
# In 32 bit mode, the process size limit was hit
# Possible solutions:
# Reduce memory load on the system
# Increase physical memory or swap space
# Check if swap backing store is full
# Use 64 bit Java on a 64 bit OS
# Decrease Java heap size (-Xmx/-Xms)
# Decrease number of Java threads
# Decrease Java thread stack sizes (-Xss)
# Set larger code cache with -XX:ReservedCodeCacheSize=
# This output file may be truncated or incomplete.
#
# Out of Memory Error (allocation.cpp:390), pid=1292, tid=0x0000000000002838
#
# JRE version: OpenJDK Runtime Environment (8.0_112-b02) (build 1.8.0_112-release-287-b2)
# Java VM: OpenJDK 64-Bit Server VM (25.112-b2 mixed mode windows-amd64 compressed oops)
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#

--------------- T H R E A D ---------------

Current thread (0x00000000171e1000): JavaThread "C2 CompilerThread1" daemon [_thread_in_native, id=10296, stack(0x0000000017bb0000,0x0000000017cb0000)]

Stack: [0x0000000017bb0000,0x0000000017cb0000]
[error occurred during error reporting (printing stack bounds), id 0xc0000005]

Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)


Current CompileTask:
C2: 56478 16929 ! 4 com.intellij.psi.stubs.StubUpdatingIndex$MyIndex::updateWithMap (277 bytes)

 

--------------- S Y S T E M ---------------

OS: Windows 10.0 , 64 bit Build 14393 (10.0.14393.0)

CPU:total 4 (2 cores per cpu, 2 threads per core) family 6 model 78 stepping 3, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, avx2, aes, clmul, erms, 3dnowpref, lzcnt, ht, tsc, tscinvbit, bmi1, bmi2, adx

Memory: 4k page, physical 8042768k(1327004k free), swap 8042768k(5808k free)

vm_info: OpenJDK 64-Bit Server VM (25.112-b2) for windows-amd64 JRE (1.8.0_112-release-287-b2), built on Oct 6 2016 19:56:05 by "builduser" with MS VC++ 10.0 (VS2010)

time: Wed Feb 22 13:14:19 2017
elapsed time: 56 seconds (0d 0h 0m 56s)

 

Can someone help with this?

0
1 comment

This is JVM crash logs that indicate that it was not able to allocate memory for a new chunk. Either the process size limit (2 Gb) was hit, or OS actually ran out of virtual memory.

Can you try taking memory snapshots when WebStorm  memory usage is high? See https://intellij-support.jetbrains.com/hc/en-us/articles/207241235-Reporting-performance-problems

0

Please sign in to leave a comment.