LOL - it will not. You have to actually use the allocated memory.
Main Topics
Browse All TopicsHi, I would like to add a stress test to my testing portfolio that specifically stresses low mem. I would like to be able to benchmark a servers ability to handle low memory stress. In other words I want to see how far I can push a server before OOM will happen.
I'm not sure how to create such a test and looking for ideas to develop this (script based or c prog)
I have had servers fail with OOM issues out in the field, so I want to be able to benchmark this as a test to make verify new configs are correct, etc, before sending out! Thanks.
This question is in progress.
Our experts are working on an answer right now.
Sign up for immediate access to the solution once it becomes available.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Lowmem is like over 700M of memory(for 32bit). Lot's of things You can fit there.
I don't know how to test it, but few ideas
- configure jumbo frames
- run nfs server and issue massive large reads to the server(from clients).
- do massive i/o
- try creating hugepages(PAE kernel only)
- create many processes(and keep alive)
Finally craft a module, which will issue many kmalloc() and eat say 500M of lowmem. Should free it upon module unloading.
Business Accounts
Answer for Membership
by: nognewPosted on 2008-07-29 at 07:45:33ID: 22111953
Hello!
this tiny C program will eat up your memory in a while.
Regards,
t.
Select allOpen in new window