Bug 781012 (SOA-3490)

Summary: windows 32bit release notes
Product: [JBoss] JBoss Enterprise SOA Platform 5 Reporter: Aleksandar Kostadinov <akostadinov>
Component: DocumentationAssignee: David Le Sage <dlesage>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 5.2.0 GA   
Target Milestone: ---   
Target Release: 5.2.0 GA   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-3490
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
windows 32 bit
Last Closed: 2011-11-14 17:01:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Aleksandar Kostadinov 2011-10-14 19:51:51 UTC
Affects: Documentation (Ref Guide, User Guide, etc.), Compatibility/Configuration
project_key: SOA

We have two things to document here. One is that windows 32bit is dropped from supported configurations. The other thing to document is that to run server "production" or "all" with EDS installed on windows 32bit machine the default memory settings are too aggressive.
{noformat}-Xms1303m -Xmx1303m -XX:MaxPermSize=256m{noformat}

With 1,5G allocated memory for heap and permgen, there is only very little memory in the process' address space left for thread stack and other allocations (by default on windows half of the address space is reserved for the system). This results in an error similar to the below one:
{noformat}java.lang.OutOfMemoryError: requested 842040 bytes for Chunk::new. Out of swap space?{noformat}

To fix this, you can decrease heap or configure smaller thread stack size (e.g. -Xss128k), or try changing process space partitioning [1].

[1] http://msdn.microsoft.com/en-us/library/windows/desktop/aa366912(v=vs.85).aspx

Comment 1 David Le Sage 2011-10-21 04:18:33 UTC
Release Notes Docs Status: Added: Documented as Resolved Issue
Writer: Added: dlesage
Release Notes Text: Added: https://issues.jboss.org/browse/SOA-3490

Note that the 32-bit version of the Windows operating system is no longer a supported configuration. However, if you are continuing to run 32-bit Windows, it is worth being aware that with the default settings,  very little memory in the process' address space for thread stack and other allocations (by default on Windows half of the address space is reserved for the system). This results in this type of error when you run SOA:

java.lang.OutOfMemoryError: requested 842040 bytes for Chunk::new. Out of swap space?

To fix this, you can decrease heap or configure a smaller thread stack size (such as -Xss128k). You could also try to change the partitioning of the process space.


Comment 2 David Le Sage 2011-10-21 04:19:43 UTC
Added to release notes.