[haiku-bugs] Re: [Haiku] #7742: SWAP file constantly recreated, takes up alot of space
- From: "kallisti5" <trac@xxxxxxxxxxxx>
- Date: Thu, 30 Aug 2012 18:06:46 -0000
#7742: SWAP file constantly recreated, takes up alot of space
-----------------------------------------+----------------------------
Reporter: Cypress | Owner: axeld
Type: bug | Status: new
Priority: normal | Milestone: R1
Component: Preferences/VirtualMemory | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Has a Patch: 0 | Platform: All
-----------------------------------------+----------------------------
Comment (by kallisti5):
> It should have a reasonable maximum, like 2 GB, and it should take into
account both the total size of the disk and the available space on that
disk. When it has calculated a reasonable size, it should check for the
settings file and create it if it doesn't exist and put in the chosen
size.
Yeah, this is definitely a good way to go... however how fast can we do
this + testing? I'd like to see this fixed prior to R1A4 as it could
impact a large number of users.
Attached is my test patch.. pretty much does what I originally listed and
is the "most simple / reliable" solution. Although if you think you could
have some smarter checking done before me... i'd say go for it :)
--
Ticket URL: <http://dev.haiku-os.org/ticket/7742#comment:5>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.
Other related posts:
- » [haiku-bugs] [Haiku] #7742: SWAP file constantly recreated, takes up alot of space- Cypress
- » [haiku-bugs] Re: [Haiku] #7742: SWAP file constantly recreated, takes up alot of space- mmlr
- » [haiku-bugs] Re: [Haiku] #7742: SWAP file constantly recreated, takes up alot of space- kallisti5
- » [haiku-bugs] Re: [Haiku] #7742: SWAP file constantly recreated, takes up alot of space- kallisti5
- » [haiku-bugs] Re: [Haiku] #7742: SWAP file constantly recreated, takes up alot of space- leavengood
- » [haiku-bugs] Re: [Haiku] #7742: SWAP file constantly recreated, takes up alot of space - kallisti5
- » [haiku-bugs] [Haiku] #7742: SWAP file constantly recreated, takes up alot of space- kallisti5
- » [haiku-bugs] Re: [Haiku] #7742: SWAP file constantly recreated, takes up alot of space- axeld
- » [haiku-bugs] Re: [Haiku] #7742: SWAP file constantly recreated, takes up alot of space- axeld
- » [haiku-bugs] Re: [Haiku] #7742: SWAP file constantly recreated, takes up alot of space- kallisti5
- » [haiku-bugs] Re: [Haiku] #7742: SWAP file constantly recreated, takes up alot of space- kallisti5
- » [haiku-bugs] Re: [Haiku] #7742: SWAP file constantly recreated, takes up alot of space- kallisti5
- » [haiku-bugs] Re: [Haiku] #7742: SWAP file constantly recreated, takes up alot of space- kallisti5
- » [haiku-bugs] Re: [Haiku] #7742: SWAP file constantly recreated, takes up alot of space- kallisti5
- » [haiku-bugs] [Haiku] #7742: SWAP file constantly recreated, takes up alot of space- kallisti5
- » [haiku-bugs] Re: [Haiku] #7742: SWAP file constantly recreated, takes up alot of space- kallisti5
- » [haiku-bugs] Re: [Haiku] #7742: SWAP file constantly recreated, takes up alot of space- axeld
- » [haiku-bugs] Re: [Haiku] #7742: SWAP file constantly recreated, takes up alot of space- axeld
- » [haiku-bugs] Re: [Haiku] #7742: SWAP file constantly recreated, takes up alot of space- kallisti5
- » [haiku-bugs] Re: [Haiku] #7742: SWAP file constantly recreated, takes up alot of space- kallisti5
- » [haiku-bugs] [Haiku] #7742: SWAP file constantly recreated, takes up alot of space- kallisti5
- » [haiku-bugs] Re: [Haiku] #7742: SWAP file constantly recreated, takes up alot of space- kallisti5