-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Open
Labels
area-System.CollectionsuntriagedNew issue has not been triaged by the area ownerNew issue has not been triaged by the area owner
Description
Hi
When trying to add 40000+ bitmap images in a Hashtable, visual studio uses 32 GB of RAM. Then it terminates the program and gives following error. I use latest visual studio community 2026 and latest .NET 10 on Windows 11. My computer has 16 GB of RAM.
2 questions:
- is 32 GB the maximum amount of memory a .NET program can use on the configuration above?
- can a Hashtable hold more then 32 GB of bitmap images? In other words: is a hashtable unlimited in memory it consumes?
- is there a solution for this? if yes, what can I do to store all images in the Hashtable without getting this error and without my program being terminated by visual studio?
Here are the images: https://limewire.com/d/ZSXDW#7dRPCnTFGN
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-System.CollectionsuntriagedNew issue has not been triaged by the area ownerNew issue has not been triaged by the area owner