5

I am facing problem while creating and launching Tizen Emulator.I am getting following error "Cannot launch this VM.Shared memory is not enough."

enter image description here

Regards

Eduard Florinescu
  • 16,747
  • 28
  • 113
  • 179
Altaf
  • 5,150
  • 10
  • 39
  • 55
  • Can you please give some details on your system configuration? Host OS? GPU ? CPU ? – Eduard Florinescu Feb 21 '13 at 15:05
  • Same problem. Host is OS X 10.8.3, Core i5, 4Gb RAM, Intel HD Graphics 3000. Error in logs indicate video initialization issue: [info:qemu:maru_vga]shared memory key: 26102, vga ram_size : 16777216 [err:qemu:maru_vga]shmget failed maru_vga: : Cannot allocate memory The error message is registered = 0 : Cannot launch this VM. Shared memory is not enough. – Dima Malenko Feb 22 '13 at 08:53
  • Restarting the machine fixed this issue for me. – Sunny May 08 '13 at 17:41

3 Answers3

4

From tizen thread https://bugs.tizen.org/jira/browse/TSDK-8, use these commands to modify system control variables and that worked fine for me.

sudo sysctl -w kern.sysv.shmmax=1610612736
sudo sysctl -w kern.sysv.shmall=393216
sudo sysctl -w kern.sysv.shmmin=1
sudo sysctl -w kern.sysv.shmmni=32
sudo sysctl -w kern.sysv.shmseg=8
sudo sysctl -w kern.maxprocperuid=512
sudo sysctl -w kern.maxproc=2048
craxidile
  • 69
  • 1
  • 2
  • Could such tweaking result in any implications for an existing OSX configuration on a Macbook ? I was thinking of how to be able to restore these parameters to a default value if needed ? – Gunnar Forsgren - Mobimation Feb 21 '14 at 00:04
1

Rebooting my MacBook Pro and running the emulator again resolved the problem for me using Tizen 2.0.0.

Larry Aasen
  • 394
  • 3
  • 12
0

Try disable bot of the following acceleration options see if it works:

enter image description here

If the emulator starts then disable them alternatively and see which of the options might be doing this.

Eduard Florinescu
  • 16,747
  • 28
  • 113
  • 179