in reply to Re: How to generate 'fake' memory load? (hogs)
in thread How to generate 'fake' memory load?

Reading can do the same thing as updating. For instance try the following to allocate about 10 MB of memory and actually keep it active:
perl -e '$_ = "x" x 10_000_000; $_ .= "y"; sleep 1 while /y/;'
Update: kyle caught a typo where I switched variable names. Fixed.