Reporter |
![]() |
---|---|
Created | Mar 28, 2013 2:43:02 AM |
Updated | Apr 9, 2013 8:51:49 PM |
Priority | Critical |
Type | Performance Problem |
State | Open |
Assignee | Sergey Andreev (smandreev) |
Subsystem | No subsystem |
Fix versions | No Fix versions |
Fixed in builds | No Fixed in build |
Affected versions | No Affected versions |
Browser | Any Browser |
OS | Windows 2008 |
Verified in build | Not verified |
Verified by | Nobody |
Reviewed by | No reviewed by |
Severity | Routine |
We are seeing heap errors on our new server and the problem appears to be that the new installation is not recognizing the Xms and Xmx options.
The error we are seeing is:
What steps will reproduce the problem?
1. Install YouTrack 3.3 on Windows 2008 R2 Server
2. Edit C:\Program Files (x86)\YouTrack\bin\catalina.bat to include the line, CATALINA_OPTS=-Xms1024m -Xmx2048m
3. Restart the Windows Service
4. Load YouTrack's Statistics page
What is the expected result?
Available memory should be 2048 MB
What happens instead?
Available memory is 494.9 MB
Please provide any additional information below.
Attach a screenshot if possible
The error we are seeing is:
27 Mar 2013 16:37:30,371 ERROR [TextIndexManager ] [nager] Exodus 1.0.0: Environment is inoperative. Java heap space jetbrains.exodus.exceptions.ExodusException: Exodus 1.0.0: Environment is inoperative. Java heap space at jetbrains.exodus.env.Environment.checkIsOperative(Environment.java:587) at jetbrains.exodus.env.Environment.beginTransaction(Environment.java:522) at jetbrains.exodus.env.Environment.beginTransaction(Environment.java:167) at jetbrains.exodus.env.Environment.beginTransaction(Environment.java:35) at jetbrains.exodus.textindex.TextIndexManagerBase.beginTransaction(TextIndexManagerBase.java:641) at jetbrains.exodus.textindex.TextIndexManagerBase.beforeProcessingJobInternal(TextIndexManagerBase.java:569) at jetbrains.exodus.textindex.impl.TextIndexManagerImpl.beforeProcessingJobInternal(TextIndexManagerImpl.java:250) at jetbrains.exodus.textindex.async.IndexingJob.execute(IndexingJob.java:45) at jetbrains.exodus.core.execution.DecoratorJob.executeDecorated(DecoratorJob.java:57) at jetbrains.charisma.persistent.TransactionalTextIndexJob.execute(TransactionalTextIndexJob.java:29) at jetbrains.exodus.core.execution.Job.run(Job.java:75) at jetbrains.exodus.core.execution.ThreadJobProcessor.executeJob(ThreadJobProcessor.java:116) at jetbrains.exodus.core.execution.JobProcessorQueueAdapter.executeOrdinaryJob(JobProcessorQueueAdapter.java:168) at jetbrains.exodus.core.execution.JobProcessorQueueAdapter.doJobs(JobProcessorQueueAdapter.java:96) at jetbrains.exodus.core.execution.ThreadJobProcessor.run(ThreadJobProcessor.java:94) at jetbrains.exodus.core.execution.ThreadJobProcessor$1.run(ThreadJobProcessor.java:28) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.OutOfMemoryError: Java heap space
What steps will reproduce the problem?
1. Install YouTrack 3.3 on Windows 2008 R2 Server
2. Edit C:\Program Files (x86)\YouTrack\bin\catalina.bat to include the line, CATALINA_OPTS=-Xms1024m -Xmx2048m
3. Restart the Windows Service
4. Load YouTrack's Statistics page
What is the expected result?
Available memory should be 2048 MB
What happens instead?
Available memory is 494.9 MB
Please provide any additional information below.
Attach a screenshot if possible