Page 1 of 1

Memory problem

Posted: Wed Feb 29, 2012 6:42 pm
by eldwist
Hello to all.
I've installed zm following the UB11.10 wiki with no problem.
It's running on HP Z210 4Gb HW.
I've 5 cameras connected with 320*280 res.

If I change the camera res to 640*480 I've got the following error :

Got unexpected memory map file size 36865524, expected 9217524

I've search a bit, and I've done

edit /etc/sysctl.conf and add the following lines (for 128meg shared mem)

kernel.shmall = 134217728
kernel.shmmax = 134217728

sudo init 6

But I still have the same issue and I cannot increase the resolution.

Any idea ??
Thanks in advance
Best regards
Eld

Re: Memory problem

Posted: Fri Mar 02, 2012 6:17 pm
by mastertheknife
Restart ZM.

mastertheknife

Re: Memory problem

Posted: Fri Mar 02, 2012 10:43 pm
by nightcrawler
mmm I've got the same error. and I have an brand new ZM 1.25. install (build 3648 from SVN) on an ubuntu 11.10 server.
Got mmap configured, and also shmax on an good size...still that same error..that zm espected more memory than there is reserved.

Did some google-ing, but didn't find an working sollution (on this url is an sollution but didn't work.. )...someone any idea's?

Code: Select all

Shared data size conflict in shared_data for monitor **** expected 328, got 316

Re: Memory problem

Posted: Sat Mar 03, 2012 9:40 pm
by PacoLM
Are you sure that you have modified the proper file and restarted your system?