[cvsnt] cvs [server aborted]; out of memory; can not reallocate 383778816

Arthur Barrett arthur.barrett at march-hare.com
Thu Feb 7 21:00:47 GMT 2008


Bill,

> One of the files in a module is 502 MB. It is an .fla file.
>  
> I can checkout all the other modules but as soon as I try to checkout
> the module with this file I get the following error:
>  
> cvs [server aborted]; out of memory; can not reallocate 383778816

This is a known problem in windows:
http://customer.march-hare.com/webtools/bugzilla/ttshow_bug.cgi?tt=1&id=
4808

When CVSNT server reads a large file it only allocates a small amount of
memory then reallocates it each time it needs more.  There is a bug in
the MS C runtime for windows that you can only do this a limited number
of times before you get the 'out of memory' error (regardless of how
much memory is left).  It's related to a larger problem of memory
fragmentation in windows.

We created a workaround for the commercially supported release
(basically we allocate larger chunks of memory if the option is set in
the control panel) but there hasn't been enough interest or time to port
it to the open source 2.5.04 yet.

Unless your previous server was non-Windows you would have had exactly
the same problem on that server.  CVSNT on linux/unix/mac does not
exhibit this problem (as I said it's actually a bug in the windows c
runtime).

> I need to have this server up and running by tomorrow. (going to be a
> long night)

http://march-hare.com/cvspro/faq/faq2.asp#2b

Regards,


Arthur


More information about the cvsnt mailing list