Oversized "AppData" Cache?

Discussion and feedback on Construct 2

Post » Tue Oct 08, 2013 4:11 am

So yeah, I was using a piece of software that sort of scans the computer to help figure out what to delete to gain disk space, and the program locked-up on a folder in the AppData folder that is titled after my Construct 2 project. The folder that is being very strange is "Cache". I've attempted to delete this Cache folder and Windows is just forever loading instead of deleting the folder (been waiting 20 mins now). Was just curious about what this actually is? I can safely assume it's the cache for when I preview my game on C2, but I don't understand what's going on or why this has happened

P.S. My project is only 30mb big.Jase002013-10-08 04:12:12
B
51
S
20
G
10
Posts: 571
Reputation: 9,819

Post » Tue Oct 08, 2013 5:15 am

App Data Local is not only where to store caches, it involves other softwares such as Minecraft, Project Files, tools, etc.
B
99
S
35
G
29
Posts: 3,139
Reputation: 28,421

Post » Tue Oct 08, 2013 5:58 am

Oh I just realised the screenshot isn't really clear :P
The "Properties" dialog is the properties of just the project folder in "AppData".
B
51
S
20
G
10
Posts: 571
Reputation: 9,819

Post » Tue Oct 08, 2013 10:35 am

Are you using Chrome? It probably depends on the browser settings - some browsers for example will use a certain percentage of your overall disk space as cache. You might also want to delete things from inside the browser settings as well, since randomly deleting files could break the browser...
Scirra Founder
B
398
S
236
G
88
Posts: 24,441
Reputation: 194,681

Post » Wed Oct 09, 2013 4:36 pm

Oops, I ended up using CMD rather than the browser settings to delete the Cache folder and left it for about 6 hours and it completed! The most strangest part of this, is that it seems to have given me 20gb or more disk space all of a sudden (I HAVE only deleted that particular Cache folder. Very weird!) I am using Chrome, and I couldn't find much to do with Cache options :O (Looking at previous projects that I used to playtest a LOT, the cache only reaches up to 10mb or so, and have waaay less than 900,000 files in cache lol) Weird times.
B
51
S
20
G
10
Posts: 571
Reputation: 9,819

Post » Wed Oct 30, 2013 3:28 am

I just want to alert this, but this is still happening to me, and I started a new project and it's happening to it aswell, thousands of small 1kb files that add up to be massive!
I have 100% used Node-Webkit since I started this new project, no other browsers.
Does this happen to anyone else?
If you are reading this and you commonly use Node-Webkit to preview, I'd be interested to know what happens to you! Simply go to:
C:\Users\[YOURUSERNAME]\AppData\Local\[YOURPROJECTNAME]
And once in here, right click your "Cache" folder and click Properties, report back with how many files you have!
B
51
S
20
G
10
Posts: 571
Reputation: 9,819

Post » Thu Nov 28, 2013 12:07 pm

@Jase00,I was wondering where my space was going and found 1,585,344 Files
B
34
S
9
G
3
Posts: 517
Reputation: 5,226

Post » Thu Nov 28, 2013 1:29 pm

Not happening to me, Windows XP, no folders named after my projects, Construct/Scirra folder is empty.
B
10
S
1
Posts: 163
Reputation: 1,436

Post » Thu Nov 28, 2013 1:50 pm

Is this happening because a single project is getting thousands of files in its cache, or because you keep previewing with different projects and that builds it up? Does it only happen in preview mode as well?
Scirra Founder
B
398
S
236
G
88
Posts: 24,441
Reputation: 194,681

Post » Thu Nov 28, 2013 2:46 pm

@Katala , Haha you beat the high score, I only had 900,000 files at most! Glad I could be of use :P

@Stiivais , I assume you went into the correct AppData folder, though I believe this file overload thing is only if you preview with Node-Webkit a lot. Perhaps you're using another browser :P The "Project Name" folder like in my first posts screenshot has the "Local Storage" folder, so if you didn't have this cache folder, you're Local Storage data in Node-Webkit wouldn't exist :P

@Ashley I'll try to be as thorough as possible :)
It's when I'm previewing a single project multiple times, literally every time I hit the Preview button, it's creating files that won't get deleted. I'm currently looking into when it happens, and I've come to the conclusion that this all only happens when you're previewing a .caproj (NOT a .capx). I've explored my appdata folder, I can find only projects that are .caproj (I don't see any folders for the times I previewed bug tests and whatnot)
And GOOD NEWS! Projects exported in Node-Webkit don't even create a "Cache" folder at all it appears! (Other files appeared in the appdata/projectname folder, such as a file called "lockfile", but nothing about the dreaded cache folder)
Further investigation just to see how bad the damage is, is that upon previewing my game (which is a pretty busy game, but only "Approx.Download: 6.9mb, memory use: 14.2mb), the Cache folder will generate 2,063 files at startup, and will increase as other things load dynamically like sounds. It's got to 4,193 files from one single preview.
Now here's where I my research becomes useless- I close the Node-Webkit preview, and the files remain there, and upon previewing again, it will randomly either reset back to 2,063 files, or it will continue adding on and get up to 8,000 files (and further). I don't really know what else to analyse after this lol.
Hope this was of use!
B
51
S
20
G
10
Posts: 571
Reputation: 9,819

Next

Return to Construct 2 General

Who is online

Users browsing this forum: Tombas and 9 guests