<html><body><span style="font-family:Verdana; color:#000000; font-size:10pt;"><div>> I`ve just 128 MB ram, and I think it could be possible make little swap file<br>
> on usb stick. How to make it?</div><div><br></div><div>As others have pointed out, it's a bad idea to swap on flash memory.</div><div><br></div><div>I'd go through all your processes and services and see which ones you don't need to reduce your memory usage as much as possible.  Once you do that, figure out how much swap space you absolutely need and consider using a swap file instead of a swap partition.  If the largest amount of swap you ever need is 32MB, for example, create a 32MB file, use it for several months, then create a second one, enable swapping on that partition and disable swapping on the original.</div><div><br></div><div>Industrial grade drives do something called "wear leveling" where all of the memory cells in the flash memory are worn out more evenly -- rotating swap spaces would be a way to achieve the same objective.  If you allocated 1GB of flash to this swapping scheme, and rotate 32MB of space every 3 months, you'd be able to go 8 years before you "wore out" that 1GB you allocated.  But this approach can only work if you aren't swapping continuously -- flash is only good for between 10,000 and 1,000,000 write cycles, depending on the quality of the memory.<br></div><div>--<br>Julie Haugh<br>Senior Design Engineer<br>greenHouse Computers, LLC // jfh at <a href="http://greenhousepc.com">greenhousepc.com</a> // greenHousePC on Skype</div><div>
<br></div><blockquote id="replyBlockquote" webmail="1" style="border-left: 2px solid blue; margin-left: 8px; padding-left: 8px; font-size:10pt; color:black; font-family:verdana;"><div id="wmQuoteWrapper">
<br>

</div>
</blockquote></span></body></html>