• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
2
Question by AliAzin · Jul 15, 2010 at 05:25 AM · memory

Is it possible to increase the amount of addressable ram in unity?

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.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by Noise crime · Jul 15, 2010 at 05:39 AM

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.

Comment
Add comment · Show 7 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image AliAzin · Jul 15, 2010 at 05:46 AM 1
Share

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.

avatar image Noise crime · Jul 15, 2010 at 06:10 AM 0
Share

Hmm 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.

avatar image Noise crime · Jul 15, 2010 at 06:12 AM 0
Share

Opps was meant to have a smiley after the 12GB comment. I'm curious though, why can't you use assetbundles in this case?

avatar image AliAzin · Jul 15, 2010 at 06:28 AM 0
Share

unity 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?

avatar image Eric5h5 · Jul 15, 2010 at 07:39 AM 3
Share

@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 RA$$anonymous$$ (on OS X anyway; less on Windows because of the way memory is handled).

Show more comments

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

No one has followed this question yet.

Related Questions

Wii graphic specs 1 Answer

Questions About Allocations - Arrays - Structs and so on 1 Answer

Debugging iOS Memory Usage? 3 Answers

Applying different textures depending on platform 3 Answers

How can I load only specific mip levels? 1 Answer

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges