Opened 15 years ago

Closed 14 years ago

#3525 closed bug (fixed)

[vim] memory not freed after failing to open file

Reported by: Adek336 Owned by: siarzhuk
Priority: normal Milestone: R1
Component: Applications/Command Line Tools Version: R1/pre-alpha1
Keywords: Cc: imker@…
Blocked By: Blocking:
Platform: All

Description

Try to open a file larger than memory size in vim. Vim fails and opens an empty buffer, however, it doesn't free the memory it allocated during the open attempt.

Under Linux vim can open huge files, using physical memory but not swap, just like if the memory manager removed unneeded parts of the file from memory and planned to reread them when necessary.

Change History (4)

comment:1 by siarzhuk, 15 years ago

Cc: imker@… added

comment:2 by mmadia, 15 years ago

any updates?

in reply to:  2 comment:3 by siarzhuk, 15 years ago

Owner: changed from axeld to siarzhuk

Replying to mmadia:

any updates?

This should be checked with actual version of vim 7.2.

comment:4 by scottmc, 14 years ago

Resolution: fixed
Status: newclosed

vim has now been removed from Haiku's source, try again with adding vim to your UserBuildProfile and see if the vim optional package takes care of this, if not please open a new ticket over on HaikuPorts.

Note: See TracTickets for help on using tickets.