On Thu, Nov 19, 2009 at 9:53 PM, Henrik Öhman <[email protected]> wrote:
> > On Oct 19, 11:10 am, winterTTr <[email protected]> wrote: > > I don't know much about the memory management for the vim. > > But , recently , my gvim ( gvim72 under WinXP ) always give a warning > > about "Out of memory! (allocating %d bytes)" where %d is a number . > > The warning appeared sometimes, but not every time. > > > > I try to autoload some python module ( written by myself ) via "pyfile > > filename.py" > > in my vimrc , and everything goes well except the warning sometimes. > > > > I think maybe the python script is a bit complex ( about 10 files , > > 50K totally ) > > but there is indeed a enough memory for vim . > > > > Is there a memory limit for the vim? > > Or , does someone see this problem before because the load of some python > code ? > > I've seen this error on XP and Vista at odd occasions. It usually goes > away after I remove $HOME\_viminfo, but not always. Anyway, I haven't > found a case where it's reliably reproduceable. It also seems like the > memory related bugfixes over the last couple of years have resulted in > fewer occasions where this error appears. > > As a first step, try and remove the _viminfo file, and see if that > helps. > I tried , but didn't see the error. And since i get the code from svn (which is patch before 267 ) and compile the new one, the error seems not to appear again. I can not make sure whether some patch fix it, but you can try to compile the new one , which would become a solution , anyway. > > Regards, > Henrik. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
