Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.mac.system > #67491 > unrolled thread

Startup disk has no more space available.

Started byTom Evans <tomevans9890@yahoo.ca>
First post2014-11-30 09:02 -0800
Last post2014-11-30 23:16 +0000
Articles 7 on this page of 27 — 13 participants

Back to article view | Back to comp.sys.mac.system


Contents

  Startup disk has no more space available. Tom Evans <tomevans9890@yahoo.ca> - 2014-11-30 09:02 -0800
    Re: Startup disk has no more space available. JF Mezei <jfmezei.spamnot@vaxination.ca> - 2014-11-30 14:12 -0500
      Re: Startup disk has no more space available. Tom Evans <tomevans9890@yahoo.ca> - 2014-11-30 11:58 -0800
        Re: Startup disk has no more space available. JF Mezei <jfmezei.spamnot@vaxination.ca> - 2014-11-30 16:24 -0500
        Re: Startup disk has no more space available. Walter Bushell <proto@panix.com> - 2014-12-08 08:33 -0500
      Re: Startup disk has no more space available. Tom Evans <tomevans9890@yahoo.ca> - 2014-11-30 12:11 -0800
        Re: Startup disk has no more space available. billy@MIX.COM - 2014-11-30 23:18 +0000
        Re: Startup disk has no more space available. John Albert <j.albert@snet.net> - 2014-12-10 15:49 -0500
          Re: Startup disk has no more space available. nospam <nospam@nospam.invalid> - 2014-12-10 16:46 -0500
            Re: Startup disk has no more space available. Alan Browne <alan.browne@FreelunchVideotron.ca> - 2014-12-14 12:34 -0500
              Re: Startup disk has no more space available. JF Mezei <jfmezei.spamnot@vaxination.ca> - 2014-12-14 14:58 -0500
              Re: Startup disk has no more space available. nospam <nospam@nospam.invalid> - 2014-12-14 15:20 -0500
                Re: Startup disk has no more space available. Alan Browne <alan.browne@FreelunchVideotron.ca> - 2014-12-15 16:24 -0500
                Re: Startup disk has no more space available. Kevin McMurtrie <mcmurtrie@pixelmemory.us> - 2014-12-16 22:29 -0800
                  Re: Startup disk has no more space available. nospam <nospam@nospam.invalid> - 2014-12-17 01:37 -0500
                    Re: Startup disk has no more space available. Kevin McMurtrie <mcmurtrie@pixelmemory.us> - 2014-12-17 20:26 -0800
                      Re: Startup disk has no more space available. Tim Streater <timstreater@greenbee.net> - 2014-12-18 09:06 +0000
                  Re: Startup disk has no more space available. Jolly Roger <jollyroger@pobox.com> - 2014-12-18 14:45 +0000
          Re: Startup disk has no more space available. Lewis <g.kreme@gmail.com.dontsendmecopies> - 2014-12-11 01:49 +0000
            Re: Startup disk has no more space available. JF Mezei <jfmezei.spamnot@vaxination.ca> - 2014-12-11 00:58 -0500
              Re: Startup disk has no more space available. John Albert <j.albert@snet.net> - 2014-12-11 17:18 -0500
                Re: Startup disk has no more space available. nospam <nospam@nospam.invalid> - 2014-12-11 17:24 -0500
                Re: Startup disk has no more space available. JF Mezei <jfmezei.spamnot@vaxination.ca> - 2014-12-11 22:47 -0500
              Re: Startup disk has no more space available. Paul Sture <nospam@sture.ch> - 2014-12-14 10:49 +0100
                Re: Startup disk has no more space available. Huge <Huge@nowhere.much.invalid> - 2014-12-14 12:13 +0000
              Re: Startup disk has no more space available. Alan Browne <alan.browne@FreelunchVideotron.ca> - 2014-12-14 12:27 -0500
      Re: Startup disk has no more space available. billy@MIX.COM - 2014-11-30 23:16 +0000

Page 2 of 2 — ← Prev page 1 [2]


#67597

FromJohn Albert <j.albert@snet.net>
Date2014-12-11 17:18 -0500
Message-ID<548a1816$0$26741$2c56edd9@usenetrocket.com>
In reply to#67596
On 12/11/14 12:58 AM, JF Mezei wrote:
> Where in Yosemite, does one turn off VM ?

The following worked for me:

How to enable/disable swapping in Mac OS X

To disable swap (pager daemon) run this command in Terminal:
sudo launchctl unload -w 
/System/Library/LaunchDaemons/com.apple.dynamic_pager.plist

After stopping pager daemon, you may want to remove swapfiles by this 
command:
sudo rm /private/var/vm/swapfile*

To enable swap, you need to boot in Single Mode (Hold [CMD + S] at 
booting time) and run this command:
sudo launchctl load 
/System/Library/LaunchDaemons/com.apple.dynamic_pager.plist

To check if VM is being used:
sysctl vm.swapusage

If VM is off, report should be:
vm.swapusage: total = 0.00M  used = 0.00M  free = 0.00M

For additional commands relating to VM, see this page:
http://remonpel.nl/2012/01/virtual-memory-configuration/


Again, I have VM off, compressed memory off, spotlight off -- computer 
rolls along very nicely.

[toc] | [prev] | [next] | [standalone]


#67598

Fromnospam <nospam@nospam.invalid>
Date2014-12-11 17:24 -0500
Message-ID<111220141724582409%nospam@nospam.invalid>
In reply to#67597
In article <548a1816$0$26741$2c56edd9@usenetrocket.com>, John Albert
<j.albert@snet.net> wrote:

> Again, I have VM off, compressed memory off, spotlight off -- computer 
> rolls along very nicely.

not for long.

[toc] | [prev] | [next] | [standalone]


#67600

FromJF Mezei <jfmezei.spamnot@vaxination.ca>
Date2014-12-11 22:47 -0500
Message-ID<548a6547$0$42942$c3e8da3$9deca2c3@news.astraweb.com>
In reply to#67597
On 14-12-11 17:18, John Albert wrote:

> To disable swap (pager daemon) run this command in Terminal:
> sudo launchctl unload -w 
> /System/Library/LaunchDaemons/com.apple.dynamic_pager.plist

Disabling swapping does not necessarily disable virtual memory. In fact,
Yosemite even has fancy VM randomizer so that an app cannot assume
memory addresses will be the same whenever it runs (to help twarth
trojans/viri/malware).

You could still have virtual memory even without paging/swapping to
disk. But you risk the system crashinfg if it cant allocate memory
because memory is full.

Disabling swapfiles works for low footprint dedicated machines/apps that
run without writeable media, but not for a general desktop box that has
many apps.

[toc] | [prev] | [next] | [standalone]


#67611

FromPaul Sture <nospam@sture.ch>
Date2014-12-14 10:49 +0100
Message-ID<m130mb-gtk.ln1@news.chingola.ch>
In reply to#67596
On 2014-12-11, JF Mezei <jfmezei.spamnot@vaxination.ca> wrote:
> This thread has made me curious.
>
> Where in Yosemite, does one turn off VM ?  I remember MacOS being able
> to do that in early versions where it started to support VM. But haven't
> seen this in ages.
>
> I can see that if you turn off VM, page/swap files would no longer be
> needed.  I could see that if you could limit total virtual memory space
> to that of RAM, nothing would ever get paged out, but i am not even sure
> this is possible, and if so, whether virtual memory space would be a per
> process limit or system-wide limit.
>
> Can a modern X86 64 bit chip run without virtual memory enabled ?

Yes.  Switching off the swapfile is also possible with Windows Server
(2008 onwards), with the caveat that if you run out of physical memory
a crash is the result.

-- 
"In that case," said Napoleon, "let us wait twenty minutes; when the enemy
is making a false movement we must take good care not to interrupt him."

[toc] | [prev] | [next] | [standalone]


#67612

FromHuge <Huge@nowhere.much.invalid>
Date2014-12-14 12:13 +0000
Message-ID<cf5d80FjasU1@mid.individual.net>
In reply to#67611
On 2014-12-14, Paul Sture <nospam@sture.ch> wrote:
> On 2014-12-11, JF Mezei <jfmezei.spamnot@vaxination.ca> wrote:
>> This thread has made me curious.
>>
>> Where in Yosemite, does one turn off VM ?  I remember MacOS being able
>> to do that in early versions where it started to support VM. But haven't
>> seen this in ages.
>>
>> I can see that if you turn off VM, page/swap files would no longer be
>> needed.  I could see that if you could limit total virtual memory space
>> to that of RAM, nothing would ever get paged out, but i am not even sure
>> this is possible, and if so, whether virtual memory space would be a per
>> process limit or system-wide limit.
>>
>> Can a modern X86 64 bit chip run without virtual memory enabled ?
>
> Yes.  Switching off the swapfile is also possible with Windows Server
> (2008 onwards), with the caveat that if you run out of physical memory
> a crash is the result.

Reason #6,782 that Windows Is Shit.


-- 
Today is Pungenday, the 56th day of The Aftermath in the YOLD 3180
"The four most overrated things in life are champagne, lobster, anal sex
                and picnics." Christopher Hitchens.

[toc] | [prev] | [next] | [standalone]


#67615

FromAlan Browne <alan.browne@FreelunchVideotron.ca>
Date2014-12-14 12:27 -0500
Message-ID<YqmdnTTXuZLqVRDJnZ2dnUU7-budnZ2d@giganews.com>
In reply to#67596
On 2014.12.11, 00:58 , JF Mezei wrote:
> This thread has made me curious.
>
> Where in Yosemite, does one turn off VM ?  I remember MacOS being able
> to do that in early versions where it started to support VM. But haven't
> seen this in ages.
>
> I can see that if you turn off VM, page/swap files would no longer be
> needed.  I could see that if you could limit total virtual memory space
> to that of RAM, nothing would ever get paged out, but i am not even sure
> this is possible, and if so, whether virtual memory space would be a per
> process limit or system-wide limit.

Would appear you can - but leaves compression on.

https://opensource.apple.com/source/xnu/xnu-2422.1.72/osfmk/vm/vm_pageout.h

#define VM_PAGER_COMPRESSOR_NO_SWAP			0x2	/* In-core compressor only. */

So

sudo nvram boot-args="vm_compressor=2"

Would turn off paging - but leave compression active.

Need to restart.

Back to the default mode would be:
sudo nvram boot-args="vm_compressor=4"

Turn off compression
sudo nvram boot-args="vm_compressor=1"

There is no defined mode where both compression and swapping are disabled.

-- 
<< Among Broad Outlines, conception is far more pleasurable
    than “carrying [the children] to fruition.”
    Sadly, “there’s a high infant mortality rate among
    Broad Outlines—they often fall prey to Nonstarters.” >>
                       "Bestiary of Intelligence Writing" - CIA

[toc] | [prev] | [next] | [standalone]


#67501

Frombilly@MIX.COM
Date2014-11-30 23:16 +0000
Message-ID<m5g8fm$7pe$1@reader2.panix.com>
In reply to#67492
JF Mezei <jfmezei.spamnot@vaxination.ca> writes:

> You could try to boot into single user mode and delete the swapfiles and
> and you reboot, OS-X would rebuild new ones from scratch.

Restarting the operating system in itself will delete all swapfiles.

Billy Y..
-- 
        sub     #'9+1   ,r0             ; convert ascii byte
	add     #9.+1   ,r0             ; to an integer
	bcc     20$                     ; not a number

[toc] | [prev] | [standalone]


Page 2 of 2 — ← Prev page 1 [2]

Back to top | Article view | comp.sys.mac.system


csiph-web