User since
2005-04-13
625
Artikel
BenutzerIn
Hab nun noch 64Mb mehr RAM und noch 120Mb SWAP und nun geht es ohne Probleme ! ! !
perl -Mstrict -Mwarnings -e 'package blub; sub new { bless {} } sub bar {my $self=shift; $self->{bla}="5065726c2d436f6d6d756e697479"; return $self->{bla};} my $foo=blub->new();print "Hallo ";print pack("H*",$foo->bar()); print "\n"'
http://perl-tutor.de
User since
2003-08-04
2145
Artikel
ModeratorIn + EditorIn
[quote=pacey,16.09.2005, 00:04]wenn das ne uml instanz ist kannst du dein SWAP anstatt auf ne device node auch inne file legen. ist zwar dann net sonderlich performant aber sollte so etwas vorbeugen![/quote]
Das war mal. Bei neueren 2.6er Kerneln sind Swapfiles genauso effizient wie Swappartitionen (sofern die Datei nicht fragmentiert ist).