You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Preview app using 12gb of Memory - "out of storage" error - Virtual Memory

Hi guys,


Macbook Pro Late 2012

2.5ghz i5

8 GB 1600 MHz DDR3

128gb ssd

El Capitan 10.11.3


My apology if this problem has been answered somewhere else, I tried looking for it a lot but couldn't really find any solution.


Problem:

I have these few pdf files (each ~200mb) that I use a lot on a daily basis.

They are locked/secured - thus every time I highlight/edit a file - preview creates a duplicate that allows me to edit the file.



Right now I have 4 untitled documents that preview had created for me so I can edit them.

My hdd space is 0 kb...

Stats from activity monitor-

Preview using 12gb of memory and 10.7gb of compressed memory

Memory being used = 6gb (app memory = 4gb; wired memory = 2gb)

Cache files = 1.7gb

Swap files = 8.5gb


After closing down Preview and all the documents and not saving them (which i never do)

My hdd space available = 9gb

physical memory used = 4.5gb

Cache files = 1.5gb

Swap files = 1.25gb ****


I kept wondering why my harddrive space would be taken up so much when I just go on my laptop to work and read these documents.

Any one have any solutions for me? Advice? How to avoid this perhaps?


Thanks for everything in advance,

Ari

MacBook Pro with Retina display, OS X El Capitan (10.11.3)

Posted on Apr 19, 2016 3:41 PM

Reply
4 replies

Apr 19, 2016 3:55 PM in response to sanjampet

That wasn't my main problem actually, but very recently, I can't even close these files anymore. It loads for a second or two and then does nothing when I click the red x at the top, doesn't ask me if I want to delete this file anymore - nothing happens.


So yes, now I kind of have to go to activity monitor and force quit everything - but the MAIN problem is idk why these 200mb files, when they are duplicated by preview since they aren't "allowed" to be edited, end up taking 10gb+ on my hard drive and use up my virtual memory too.

Apr 19, 2016 9:33 PM in response to torshizzle

Please back up all data. Quit Preview if it's running.

Hold down the option key and select Go Library from the Finder menu bar. From the Library folder, delete the following items, if they exist:

Containers/com.apple.Preview

Containers/com.apple.quicklook.ui.helper

Group Containers/com.apple.Preview

Preferences/com.apple.Preview.LSSharedFileList.plist

Preferences/com.apple.Preview.SandboxedPersistentURLs.LSSharedFileList.plist

Saved Application State/com.apple.Preview.savedState

Log out and log back in. Launch the application and test.

Preview app using 12gb of Memory - "out of storage" error - Virtual Memory

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.