Memory problem

Forum for questions and support relating to the 1.25.x releases only.
Post Reply
Posts: 2
Joined: Fri Jul 18, 2008 3:40 pm

Memory problem

Post by eldwist » Wed Feb 29, 2012 6:42 pm

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

Posts: 679
Joined: Wed Dec 16, 2009 4:32 pm
Location: Israel

Re: Memory problem

Post by mastertheknife » Fri Mar 02, 2012 6:17 pm

Restart ZM.

Kfir Itzhak.

User avatar
Posts: 71
Joined: Fri Aug 12, 2011 9:54 am
Location: the netherlands

Re: Memory problem

Post by nightcrawler » Fri Mar 02, 2012 10:43 pm

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
Zoneminder @Ubuntu 11 server, ZM 1.25.0 , FFMPEG, 4 Analoge cameras, 1.6ghz P4mobile, 2GB ram, 60GB-HDD.
I also have an (homeseer) domotica system up-and-running with touchscreens,light controllers,weather forecast etc.

Posts: 970
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

Re: Memory problem

Post by PacoLM » Sat Mar 03, 2012 9:40 pm

Are you sure that you have modified the proper file and restarted your system?

mini-ITX system (4 IPCams - Ubuntu20.04 - ZM1.34.15)

Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests