- Joined
- Apr 14, 2012
- Messages
- 2
when i creating the map, i used a double-for-loop, the pseudo code is like below
for (each integer A) from 1 to 10
for (each Integer B) from 1 to 357
assigning array[integer B] some value
save the value of array[integer B] to a hashtable as integer B of Integer A
end for-loop
end for-loop
this runs all the time, however, it get stucked in the half-way. It only completed until integer A = 7 and integer B = 138, and it get stucked at there.
since all the previous data of A < 7 is correct, this means the flow of this double-for loop is ok... but i dunno whats wrong to it.. I have no idea at all. Is it out of memory? or what? can any1 help me?
for (each integer A) from 1 to 10
for (each Integer B) from 1 to 357
assigning array[integer B] some value
save the value of array[integer B] to a hashtable as integer B of Integer A
end for-loop
end for-loop
this runs all the time, however, it get stucked in the half-way. It only completed until integer A = 7 and integer B = 138, and it get stucked at there.
since all the previous data of A < 7 is correct, this means the flow of this double-for loop is ok... but i dunno whats wrong to it.. I have no idea at all. Is it out of memory? or what? can any1 help me?