Hi there, my machine has 4 Gb of ram but unity says that only 2 Gb of that is addressable. I have memory problems in my project and unity crashes at build. Is there any way to increase the amount of rams that uses by unity?
Thanks in advance.
Hi there, my machine has 4 Gb of ram but unity says that only 2 Gb of that is addressable. I have memory problems in my project and unity crashes at build. Is there any way to increase the amount of rams that uses by unity?
Thanks in advance.
What system are you using?
On Windows (and I suspect Macs) a 32bit OS can only address 4gb of ram, however you never get all of that, as some is reserved by your gpu and other hardware. So if you have a 1GB gpu then you'll only get 3GB, maybe less. Then of course the amount of actual ram you have is even less since the OS and programs use it.
The only way around this is to update to 64 bit hardware and OS.
As for building issues, there have been a few questions and potential workarounds posted if not here then in the Unity forum, which would be worth searching for and reading.
Thanks for the reply. I'm using win xp x64 and my graphic card has 1 gb dedicated memory. i had same problem when I had 6 gb ram. I know I can use asset bundles as a workaround , but I can't do it this time.
– AliAzinHmm well thats odd, figured it was bound to be a 32 bit issue. Where/when does Unity tell you you only have 2GB addressable ram? If you can't use assetbundles then you'll have to just get a 12Gb machine, assuming this isn't some bug with Unity.
– anon78649195Opps was meant to have a smiley after the 12GB comment. I'm curious though, why can't you use assetbundles in this case?
– anon78649195unity says that in the crash log. I can't use bundles because the security is important for me in this case .You mean if I increase my ram to 12 Gb this problem may solves?
– AliAzin@Noisecrime: a 64-bit OS won't solve anything, since Unity remains 32-bit. That's not a bug, that's the way all 32-bit apps work. It can never address more than 4GB RAM (on OS X anyway; less on Windows because of the way memory is handled).
– Eric5h5