|
|
| We don't bite newbies here... much | |
| PerlMonks |
Re: Small Corrupted Storable Retrieve Dies With an Invalid "Out of memory!"by mattriff (Chaplain) |
| on Oct 27, 2004 at 12:53 UTC ( [id://403094]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
I feel silly following up tachyon's great analysis with something so mundane, but... On the subject of why the file gets corrupted, I recommend looking for file-locking bugs in the code that's calling Storable::store. As it happens, I ran in to this same exact problem last week, and it hasn't recurred since I fixed my file locking mechanism to actually, you know, prevent concurrent writes. ;) (My problems occurred using Perl 5.8.3 and Storable 2.13 on FreeBSD 4.10-STABLE, btw.)
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||