Opened 10 years ago

Closed 9 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:
Has a Patch: no 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 Changed 10 years ago by siarzhuk

Cc: imker@… added

comment:2 Changed 10 years ago by mmadia

any updates?

comment:3 in reply to:  2 Changed 10 years ago by siarzhuk

Owner: changed from axeld to siarzhuk

Replying to mmadia:

any updates?

This should be checked with actual version of vim 7.2.

comment:4 Changed 9 years ago by scottmc

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.