Personal tools
You are here: Home Documentation FAQs Why do I get MemoryError under FreeBSD when my server has tons of free physical memory?
Support

Get Help

Join our chat rooms or support forums if you have more specific questions.

Plone Training
Learn how to design, build, and deploy a website in Plone through one of the numerous Plone training sessions around the world.
Find Plone training…
 
Document Actions

Why do I get MemoryError under FreeBSD when my server has tons of free physical memory?

Up to Table of Contents
Warning: This item is marked as outdated.

This FAQ applies to: Plone 2.1.x, Plone 2.0.x

When running FreeBSD with more than 512MB of RAM, why do I get MemoryErrors when my server has tons of free physical memory?

By default in FreeBSD 5.X or 4.X the kernel will limit the amount of RAM any one process can use to 512MB (older versions of FreeBSD this was lower).

You can tweak this in /boot/loader.conf by setting these values:

  kern.maxdsiz="1610612736"
  kern.dfldsiz="1610612736"
  kern.maxssiz="1610612736"

Reboot for the new values to take effect.

This will allow the process to use more physical RAM, but be careful because putting this number too close to the actual amount of physical RAM might cause the box to not boot.

by Calvin Hendryx-Parker last modified October 7, 2005 - 14:23
Contributors: Calvin Hendryx-Parker, George Donnelly
All content is copyright Plone Foundation and the individual contributors.

For any issues with the web site functionality, please file a ticket.

Please consult the policy on plone.org content if you want your content published on this site.

Servers and hosting by