Out of memory error

2007-07-09 Thread Scott Mayo

I am running imapsync and keep getting the error:

Out of memory during large request for 67112960 bytes, total sbrk()
is 495640576 bytes at /usr/local/bin/imapsync line 1050.

When trying to copy a mailbox that has some large attachements.

I found on the internet that I needed to set kern.maxdsiz=1024M in my 
/boot/loader.conf to fix this problem, but when I do that then my system 
hangs when trying to mount the drive.


Does anyone have any ideas of how to fix this memory problem?

Thanks.

--
Scott Mayo
System Administrator
Bloomfield Schools


Duct tape is like the force, it has a light side and a dark side and it
holds the universe together.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Out of memory error

2007-07-09 Thread Scott Mayo

Scott Mayo wrote:

I am running imapsync and keep getting the error:

Out of memory during large request for 67112960 bytes, total sbrk()
is 495640576 bytes at /usr/local/bin/imapsync line 1050.

When trying to copy a mailbox that has some large attachements.

I found on the internet that I needed to set kern.maxdsiz=1024M in my 
/boot/loader.conf to fix this problem, but when I do that then my system 
hangs when trying to mount the drive.


Does anyone have any ideas of how to fix this memory problem?

Thanks.



I guess that the KB option cannot be added to the end to specify 
Kilobytes.  I thought it could.  I put kern.maxdsiz=10 and 
that took care of the problem.


Thanks.

--
Scott Mayo
System Administrator
Bloomfield Schools


Duct tape is like the force, it has a light side and a dark side and it
holds the universe together.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


out of memory error?

2004-03-23 Thread Chip Wiegand
I'm using FreeBSD-5.1 and running MySQL-4.1.0, PHP-4.3.2, Apache-2.0.46.

I am trying to backup my MySQL databases but am getting the following 
error:

Fatal error: Allowed memory size of 11581840 bytes exhausted at (null):0 
(tried to allocate 4683274 bytes) in 
/usr/local/www/data-dist/phpMyAdmin-2.5.4/backup/functions.php on line 684

Prior to this I tried to run an update on a database and it also gave me 
an out of memory error also. My database queries and updates are taking 
much too long, if they finish at all.

Here's the top of top -



Any ideas about the memory problem?
--
Chip Wiegand
Computer Services
Simrad, Inc
www.simradusa.com
[EMAIL PROTECTED]

There is no reason anyone would want a computer in their home.
 --Ken Olson, president, chairman and founder of Digital Equipment 
Corporation, 1977
 (Then why do I have 8? Somebody help me!)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: out of memory error?

2004-03-23 Thread Chip Wiegand
[EMAIL PROTECTED] wrote on 03/23/2004 09:33:04 AM:

  I'm using FreeBSD-5.1 and running MySQL-4.1.0, PHP-4.3.2, 
Apache-2.0.46.
 
  I am trying to backup my MySQL databases but am getting the following
  error:
 
  Fatal error: Allowed memory size of 11581840 bytes exhausted at 
(null):0
  (tried to allocate 4683274 bytes) in
  /usr/local/www/data-dist/phpMyAdmin-2.5.4/backup/functions.php on line 
684
 
  Prior to this I tried to run an update on a database and it also gave 
me
  an out of memory error also. My database queries and updates are 
taking
  much too long, if they finish at all.
 
  Here's the top of top -
 
  Any ideas about the memory problem?
  --
 
 I had a similar error.  Change the maximum memory usage limit to a 
bigger
 value in your php.ini file.
 
 Rommel

Thanks Rommel,
that solved it.
Regards,
Chip Wiegand
Simrad, Inc
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Out of memory error

2003-12-27 Thread Kris Kennaway
On Fri, Dec 26, 2003 at 02:54:21PM -0700, Elliot Finley wrote:
 4.8-R
 
 I have a process that needs to keep about 700MB of data in RAM.  It crashes
 when it gets to about 512MB.  I've looked for a sysctl variable to tune, but
 none of them jumped out at me.  Same with man tuning'
 
 Any pointers would be appreciated.

Post more information about your system configuration.

Kris


pgp0.pgp
Description: PGP signature


Re: Out of memory error

2003-12-27 Thread Mikko Työläjärvi
On Fri, 26 Dec 2003, Elliot Finley wrote:

 4.8-R

 I have a process that needs to keep about 700MB of data in RAM.  It crashes
 when it gets to about 512MB.  I've looked for a sysctl variable to tune, but
 none of them jumped out at me.  Same with man tuning'

 Any pointers would be appreciated.

You'll need to tweak MAXDSIZ, see LINT.  The default value seems to be
picked up from /sys/OS/include/vmparam.h, and is 512MB on i386.

There is a corresponding kernel tunable (at least in 4.9) called
kern.maxdsiz you can put in /boot/loader.conf.

   $.02,
   /Mikko
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Out of memory error

2003-12-26 Thread Elliot Finley
4.8-R

I have a process that needs to keep about 700MB of data in RAM.  It crashes
when it gets to about 512MB.  I've looked for a sysctl variable to tune, but
none of them jumped out at me.  Same with man tuning'

Any pointers would be appreciated.

TIA

Elliot

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]