[haiku-bugs] Re: [Haiku] #18183: Strange out of memory issue while allocating many bitmaps

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Wed, 28 Dec 2022 10:33:50 -0000

#18183: Strange out of memory issue while allocating many bitmaps
-------------------------+-------------------------
  Reporter:  jackburton  |      Owner:  nobody
      Type:  bug         |     Status:  new
  Priority:  normal      |  Milestone:  Unscheduled
 Component:  System      |    Version:
Resolution:              |   Keywords:
Blocked By:              |   Blocking:
  Platform:  x86         |
-------------------------+-------------------------
Comment (by pulkomandy):

 At this resolution, each bitmap is 9MB, so a hundred of them is 900MB.

 On a 32bit system, it is not very hard to hit the max memory size of
 app_server (about 2GB). There is simply no way to fit 300 9MB bitmaps in
 that address space.

 Even if you have more free RAM, one single app can only use up to 2GB due
 to the 32bit address space constraint.

 The only fix here is to switch to 64bit...
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/18183#comment:5>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: