Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k & phranque

Message Too Old, No Replies

increasing memory usage for running perl script

windows operating system, 64 bit dual core processors

4:14 am on Dec 30, 2009 (gmt 0)

New User

5+ Year Member

joined:Apr 5, 2008
votes: 0

I have a rather ponderous script that aligns DNA sequences and assigns penalties for interactions generating a list of low penalty DNA sequences for PCR (polymerase chain reaction) ... the program takes about 5 min to select primers from several thousand bases of DNA ... when i run this script on a windows computer with 16 gByte of RAM it is not any faster than another computer with < 2 gByte of RAM ... both show 98 MB CPU usage ... is there a way to increase the RAM usage for perl scripts?

thanks guys ... happy new year


6:17 am on Dec 30, 2009 (gmt 0)


WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Aug 10, 2004
votes: 115

oversimplifying here: perl tends to use what it needs for memory so it sounds like you are not memory constrained.
i would suggest you investigate whether your application is suitable for multi-threading and if so start researching "multiprocessor kernel threads".
6:26 am on Dec 30, 2009 (gmt 0)

New User

5+ Year Member

joined:Apr 5, 2008
votes: 0

thanks phranque ... will let you know what i learn
9:33 pm on Dec 30, 2009 (gmt 0)

Senior Member

WebmasterWorld Senior Member 5+ Year Member

joined:May 31, 2008
votes: 0

you can generally use threading (and increase performance!) if you can get work done in parallel, e.g. if you just work through log files and you don't need the results of all the earlier files, you could just run your script multiple times or use threading, where threading gives you a much nicer way to communicate.

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members