requested 753376 bytes for Chunk::new. Out of swap space?

It's compilation for monster Weblogic application.

: Exception in thread "CompilerThread1" java.lang.OutOfMemoryError: requested 753376 bytes for Chunk::new. Out of swap space?

What variables we need to increase or anything else?

:: TEAMCITY_AGENT_MEM_OPTS Set agent memory options (JVM options)
::
:: TEAMCITY_AGENT_OPTS Set additional agent JVM options
::
:: TEAMCITY_LAUNCHER_OPTS Set agent launcher JVM options


Please advise.

Thanks,
Konstantin.

2 comments

Same problem with settings:

System Properties
Name Value
system.TEAMCITY_AGENT_OPTS -Xms1024m -Xmx2048m edit delete
system.TEAMCITY_LAUNCHER_OPTS -Xms1024m -Xmx2048m edit delete
system.TEAMCITY_AGENT_MEM_OPTS -Xms1024m -Xmx2048m edit delete


Exception in thread "CompilerThread0" java.lang.OutOfMemoryError: requested 65544 bytes for Chunk::new. Out of swap space?

0

contracosta wrote:

Same problem with settings:

System Properties
Name Value
system.TEAMCITY_AGENT_OPTS -Xms1024m -Xmx2048m edit delete
system.TEAMCITY_LAUNCHER_OPTS -Xms1024m -Xmx2048m edit delete
system.TEAMCITY_AGENT_MEM_OPTS -Xms1024m -Xmx2048m edit delete


Exception in thread "CompilerThread0" java.lang.OutOfMemoryError: requested 65544 bytes for Chunk::new. Out of swap space?


This is OOM in your BUILD. It is run in separate JVM.
You don't need to tune AGENT memory settings.
Either tune your build script or runner settings (Edit Configuration
Settings > Runner: XXX > JVM command line parameters: -X...)

--
Alexey Gopachenko
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

Please sign in to leave a comment.