Google Earth VR

Google Earth VR

Demonen Nov 17, 2016 @ 8:33am
Massive memory leak?
After just a little while (15-20 minutes?) of using this awesome application, I run out of RAM.
I've got 16GB of RAM, 10GB of which is unassigned when I start up Google Earth VR.

Gobbling 6GB of memory smells like a memory leak in an of itself, but doing so in 15 minutes is a pretty substantial leak!

Anyone else having this issue?
< >
Showing 1-15 of 16 comments
Amylion Nov 17, 2016 @ 8:36am 
Same issue here.

Win 10 64bit, 16 GB DDR4 RAM
Tucu Nov 17, 2016 @ 8:40am 
By any chance do you have a motherboard with a Killer network card?
Major_Troubles Nov 17, 2016 @ 9:02am 
I have huge RAM use as well, but it stabilizes after a bit and stays on that level. I don't think there is a leak. Just close Chrome and Firefox before you start GE VR
Demonen Nov 17, 2016 @ 9:10am 
No KillerNIC here.

What level does it stabilize at? I mean, 6GB isn't enough?
The *recommended* system specs for this application is 8GB RAM. What modern Win10 system doesn't have at least a couple of GB in background processes and other stuff running?

Anyway, I hope this is adressed, or I'm going to have to go over my system to kill eeeeverything I don't need while I'm in there. :-O

Tucu Nov 17, 2016 @ 9:13am 
Originally posted by Demonen:
No KillerNIC here.

What level does it stabilize at? I mean, 6GB isn't enough?
The *recommended* system specs for this application is 8GB RAM. What modern Win10 system doesn't have at least a couple of GB in background processes and other stuff running?

Anyway, I hope this is adressed, or I'm going to have to go over my system to kill eeeeverything I don't need while I'm in there. :-O

OK, I asked because they are notorious for their memory leak when streaming content.
I am running on an 8GB PC and I have not seen an out of memory problem yet.
Demonen Nov 17, 2016 @ 10:04am 
Hmm... Maybe because I have more RAM it assumes I have more of it available?
Odd that it doesn't actually check, though. That's a *trivial* thing to look up.
Major_Troubles Nov 18, 2016 @ 12:49am 
Originally posted by Demonen:
No KillerNIC here.

What level does it stabilize at? I mean, 6GB isn't enough?
The *recommended* system specs for this application is 8GB RAM. What modern Win10 system doesn't have at least a couple of GB in background processes and other stuff running?

Anyway, I hope this is adressed, or I'm going to have to go over my system to kill eeeeverything I don't need while I'm in there. :-O
I played yesterday for only a short time and I reached 4.2 GB, slowly but continuously increasing. It cleaned up nicely after I closed though.
Two days ago when I used it ~ 80 min, I think it used about 7 GB. I only looked at the drop in the graph, not at the numbers, so this estimate is not very precise. The graph looked horizontal before the drop though, and yesterday I could see that it is still increasing.

Maybe you need some virtual RAM?
Currently I have 32 GB (real) RAM installed and no issues.
When I had 16 (and a RAM-Disk using 5 of that) I had problems running GTA 5 without closing my browsers before starting. I also got the message that my system is running out of RAM (I had next to no virtual memory). Windows displayed only half my RAM used.
Last edited by Major_Troubles; Nov 19, 2016 @ 2:37am
The Loafer Nov 18, 2016 @ 11:29pm 
PROBLEM SOLVED! (well, for me at least).

I've got 16GB of ram and an SSD drive so like many others, I've removed the option to have a pagefile, as many out there feel for a gaming machine, anything above 8GB is rare. Well, tell that to Google Earth VR who uses a crap load of textures (not an insult!).

So I went back in, let windows set up a pagefile (on my D: HDD drive) and voila! two hours of continuous playtime and zero crashes! Yay!

For those uninitiated, in windows 10, go to:
- control panel
- system
- advance system setting
- under "Advance" tab, section "performance", select "settings"
- select "advanced" tab
- section "virtual memory", select "change"
- Ensure at least one of your drives has "system managed size" selected, my SSD is set to "no paging file" but my 5TB HDD is set to system managed

Reboot and voila!

Many state on SSD nowadays on a pc with 16GB of ram, the pagefile can reside on it no issues as it is rarely used. That may be true, however I won't rarely be using Google Earth VR so I felt it better to let the pagefile reside on a HDD instead of the SSD. I'm probably sacrificing a second of pop up in Google Earth VR (it seems to take a smidgeon longer to draw everything but it's 2am so could be my imagination eheh)
Major_Troubles Nov 19, 2016 @ 2:52am 
Originally posted by The Loafer:
So I went back in, let windows set up a pagefile (on my D: HDD drive)
...
- Ensure at least one of your drives has "system managed size" selected
Fyi: The pagefile is called virtual RAM. So maybe you didn't know it, but you followed my advice! I'm glad it works. ;)

If you let your system manage the pagefile, it is often as large as your actual RAM. There is no need for that. A couple of GB should suffice. A fixed size page file wastes less space and over time is also faster on a HDD.
For fixed size, just set the min and the max to the same value.

Sidenote: Some programs (I don't know if this is true for Google Earth VR) need virtual memory, no matter how much RAM you have available. This makes the following absurd sounding solution an actually reasonable solution: If you have loads of RAM, you can create a RAM-disk (= let your OS treat some of your RAM as HDD, I use imdisk for that) and put your pagefile on that.
Last edited by Major_Troubles; Nov 19, 2016 @ 2:53am
Demonen Nov 19, 2016 @ 3:43am 
Yeah, I'd still like them to optimize for memory usage.
Stop the bleeding first, then put on the band aid?
gtaadictoFC Nov 19, 2016 @ 3:53am 
I have 16gb of ddr4 ram, and it tops out at 14gb, so no problem for me to stay a few hours non-stop :D
Pagefile is disabled btw
Last edited by gtaadictoFC; Nov 19, 2016 @ 3:54am
Major_Troubles Nov 19, 2016 @ 4:17am 
Originally posted by Demonen:
Yeah, I'd still like them to optimize for memory usage.
Stop the bleeding first, then put on the band aid?
There is no bleeding. It is not a memory leak, just high memory usage.
Tucu Nov 19, 2016 @ 4:26am 
Originally posted by Demonen:
Yeah, I'd still like them to optimize for memory usage.
Stop the bleeding first, then put on the band aid?

It is likely that this is not memory leak problem or an optimisation problem. Just usual Windows behaviour when an application is mapping/unmapping a lot of big files into memory.
Demonen Nov 19, 2016 @ 4:29am 
Yes, but it can still be optimized.
What, you think applications can't discard stuff it has loaded once it's no longer needed? When I zoom out to space from Spain, and zoom in to Wales, why keep Spain in memory?
elvissteinjr Nov 19, 2016 @ 4:53am 
That's Windows memory management at its finest.
I've used to have the pagefile off as well, that was before the Raw Data free weekend.
The specifics are scattered around the web, but iirc it boils down to committed memory not being equal to used memory. So in case any applications request huge chunks of continuous memory, you kinda need some space to swap out in the end. Windows usually doesn't free up previously committed memory for a good while or until the process closes (implementation details are up in the air though).
Many applications don't handle out of memory errors gracefully and just crash, but let's be honest, from a coding perspective, most of the time you're screwed in those cases anyways.

I've had space to save on my tiny SSD, so I only put a smaller pagefile on it and a bigger one on my HDD. Committed memory isn't necessarily written to, so my PC doesn't crawl around when more than my physical memory has been committed.

I've run Google Earth VR for like 1.5h total in 2 sessions with 8 GB without issues, so that works. I haven't bothered monitoring my memory use, but I didn't close down anything before using it. With my usual stuff open, it should've been 2 - 3 GB in use before starting it.
< >
Showing 1-15 of 16 comments
Per page: 1530 50

Date Posted: Nov 17, 2016 @ 8:33am
Posts: 16