How much memory may a HPPL program use on a G2?
|
08-24-2023, 01:19 AM
Post: #4
|
|||
|
|||
RE: How much memory may a HPPL program use on a G2?
(08-23-2023 06:45 PM)matalog Wrote: Your program may handling menory badly or filling the stack, which would be cleared up by the time you got to look at the memory. You could share the code and someone might have a look, but if it is 2MB they may not. If you are referring to the data stack, that CAN be the problem, but it's usually not, because the Prime's "history stack" is limited to 128 items (a little-known fact), unlike RPL's "infinite stack". Of course, if the objects on Prime's data stack are gargantuan (e.g. huge matrices or lists or algebraic expressions), yes, that can use up all your free memory. However, if you are referring to the program environment's return stack, then yes, it's easy to unintentionally create a bottomless subroutine hole, or a recursive routine that gobbles up memory. A listing of the program is needed to find memory leaks like these. <0|ΙΈ|0> -Joe- |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 9 Guest(s)