Opened 17 years ago
Closed 9 years ago
#1995 closed bug (fixed)
if a program takes up all the available memory haiku freezes
Reported by: | kaoutsis | Owned by: | axeld |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | - General | Version: | R1/pre-alpha1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
- take this http://dev.haiku-os.org/attachment/ticket/1071/area_creation_test.cpp
- run the test and try to take up all the available ram;
for example: ./area_creation_test 100 B_ANY_ADDRESS B_NO_LOCK 'B_WRITE_AREA|B_READ_AREA' 500 eats 200MB
- when the free memory is vanished, haiku will freeze
May be it's better if the program gets killed?
Change History (4)
comment:1 by , 10 years ago
comment:3 by , 9 years ago
I just tested on hrev49974, and Haiku does not freeze when it runs out of memory. We should be able to close this ticket.
Note:
See TracTickets
for help on using tickets.
I have run out of RAM before and have never seen this problem.
What image are you using? I am on hrev48487 and this does not seem to happen.