Re: running out of memory and swap space using test_two.txt


[ Follow Ups ] [ Post Followup ] [ CS328 Message Board ] [ FAQ ]

Posted by kalpol on August 11, 2001 at 10:37:56:

In Reply to: running out of memory and swap space using test_two.txt posted by jason pepas on August 11, 2001 at 02:40:39:

: crap, when i run test.exe using test_two.txt, i run out of memory and swap space before it finishes...

: although, i know its not an infinite loop, because i created test_100.txt, which is just the frist 100 lines of test_two.txt, and it finishes no problem.

: has anyone else gotten all their data structures set up using test_two without running out of space?


are you using a matrix? graph matrices get really big really fast. make sure you're not passing it by value somewhere and doubling its size.



Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ CS328 Message Board ] [ FAQ ]