Lochiel
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2015
12:38 AM
tmp:/ filesystem size?
Quick Question about the tmp:/ filesystem. How do I know how much space is left in it? Do I even need to worry about that, or will it be cleaned out automatically as I fill it?
4 REPLIES 4

RokuJoel
Binge Watcher
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2015
05:49 PM
Re: tmp:/ filesystem size?
tmp:/ system space is variable depending on how many channels you have installed. If you are using the space, you will need to manage it while your app is running. When your app exits, the tmp:/ space is cleaned up.
- Joel
- Joel
Lochiel
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2015
08:49 PM
Re: tmp:/ filesystem size?
I guess I'm looking for guidance on how to manage it. My first thought was to check for available space before writing to it, but that doesn't appear to be an options. My current line of thinking, which I haven't had a chance to test, is to attempt to write, verify that the write worked, clear out space if it didn't, and then attempt to write again.

RokuJoel
Binge Watcher
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2015
10:23 AM
Re: tmp:/ filesystem size?
How large a file are you thinking of writing? If you are writing images then just write them, and delete them when finished using them, or, use roTextureManager which should manage them for you.
- Joel
- Joel
Lochiel
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2015
01:10 PM
Re: tmp:/ filesystem size?
roTextureManager is exactly what I was looking for; I was trying to write my own version of this that probably would have been slow as heck and broken twice as often. Thank you.