J
Jon
Hello,
I am running an algorithm that requires O(n^2) space. The comp has 8
GB of RAM, but I'm seeing the program cap out at around 1.7 GB, and
then I get an out-of-memory error. (The algorithm essentially
constructs a complete graph, where each node has an edge to every
other node in the graph.) Now, given the n^2 requirement there will
always be some limit, so in the end I should find a better algorithm,
but for now it would be nice to somehow increase the allocated space
for the program. Is there something I can do in C# to increase its
memory cap?
Thanks,
Jon
I am running an algorithm that requires O(n^2) space. The comp has 8
GB of RAM, but I'm seeing the program cap out at around 1.7 GB, and
then I get an out-of-memory error. (The algorithm essentially
constructs a complete graph, where each node has an edge to every
other node in the graph.) Now, given the n^2 requirement there will
always be some limit, so in the end I should find a better algorithm,
but for now it would be nice to somehow increase the allocated space
for the program. Is there something I can do in C# to increase its
memory cap?
Thanks,
Jon