Skip to Content
Author's profile photo Former Member

Shared Memory issues during NW CE 7.2 start up

MapOsShm Can’t find free space for Shared Memory (Size=83739 KB)
[http://shmnt.c 2174 | http://shmnt.c%20%20%20%20%20%202174/]
 *** ERROR => AttachOsShm MapViewOfFile(Key=62,Handle=0x000003FC) failed with Err=0

  *******************************************************************************<br />** ERROR => 
***
 *** Please see section ‘Java VM shared library issues’
 *** in SAP Note 1316652 for additional information and trouble shooting advice.
 ********************************************************************************

But the Note 1316652 didn’t help much in my case.

The issues that I encountered during the Java instance start are

1. During Binary synchronization step.

2. Shared Memory issue

Solution

1. Go to C:\Program Files\sdb\programs\bin and execute X_Server.exe

2. You need to enable 3GB switch at  operating system level in BOOT.INI file

Go to System properties->Advanced->Startup and Recovery->Click Edit under System Startup.Your initial .INI file looks like below

 

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS=”Microsoft Windows XP Professional”

 Add a new  entry “multi(0)disk(0)rdisk(0)partition(1)\WINDOWS=”Microsoft Windows XP Professional 3GB switch” /3GB /USERVA=2900 /fastdetect /NoExecute=OptIn

Now your file should be as below

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS=”Microsoft Windows XP Professional 3GB switch” /3GB /USERVA=2900 /fastdetect /NoExecute=OptIn
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS=”Microsoft Windows XP Professional”

Save and Restart the machine.

During the system boot , sleect “Microsoft Windows XP Professional 3GB switch” option.

Now start the CE instance.

Assigned Tags

      5 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member
      Anil:
      I never come across this issue, even though my laptop is 32 bit WinXP and having 4GB RAM. I guess, I already enabled the PAE (Physical Address Enablement) on the Windows boot file.

      Anyways, your blog helps,

      Prasad Nutalapati

      Author's profile photo Former Member
      Former Member
      Prasad
      Thanks for your comments.I think it depends on case to case.Even I see many postings in forums also.

      Regards,Anil

      Author's profile photo Hemanth Kumar
      Hemanth Kumar
      SAP Note No. 990538 will be helpful
      Author's profile photo Former Member
      Former Member
      is it possible to call a servlet within webdynpro java application like we do in a normal html file?
      Author's profile photo Michael Johnson
      Michael Johnson
      thx anil for your wonderful contribution