cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

Mathcad Prime 10 - Possible Bug - Slow, Frozen, or Cyclic Behaviour

StuartBruff
23-Emerald III

Mathcad Prime 10 - Possible Bug - Slow, Frozen, or Cyclic Behaviour

 

Mathcad Prime (MP) 10 starts to become unusably slow after switching between Mathcad and other applications (even Character Map or its own windows (eg, right-click context or worksheet list drop-down). 

 

It usually manifests as unresponsiveness after switching back to Mathcad from another app.  Mathcad will freeze, unfreeze, and then freeze again before resuming normal service.  At the moment, though Mathcad is just cycling through freezes and won't let me do anything (including saving the active worksheet).

 

It seems to happen quicker when I have multiple worksheets open, even if those worksheets do not require saving or have any edit actions that might need undoing.

 

It happened in the initial MP 10 and in MP 10.0.1.0, but I've noticed it more in MP 10.0.1.0.

 

2024 10 29 D.png

 

Stuart

 

Edited to add:  My Dell laptop doesn't appear to be overly strained during these freezes.

 

2024 10 29 E.png

ACCEPTED SOLUTION

Accepted Solutions


@StuartBruff wrote:

Thanks, Martin. 

 

That core loading is interesting. How many worksheets did you have open at once?  I tend to have several open at a time so that I copy code from to another, maybe tinker with the code to meet a new situation and paste the code back to its original worksheet.   I think I had 7 worksheets open the last time the laptop started playing up (or down, in performance);  Mathcad said it was using about 3.5 GiB and the rest of the processes on the laptop were taking up about 13 GiB, so just over 16 GiB out 32 GiB being used and no evidence of hight peaks.

 

Stuart


Hi,

my todays test ...

  • I created 14 copies of dev - Vectorization Function Performance 02.mcdx
  • I started MP 10.0.0.0
  • I opened 14 mcdx files one by one

Conclusions

  • at the end MathcadPrime.exe process had 4GB of memory allocated
  • each subsequent File > Open dialog took longer to display
  • each subsequent mcdx file took longer to load (1st -> 12 seconds, 14th -> 30 seconds)
  • it seems to me that 4GB of memory allocated is too much for single MathcadPrime.exe process
    • I think you can open Case at PTC Support and discuss the problem with them

Information

  • MP 10.0.0.0 license enables you to start more than one instance of MP 10.0.0.0
    • this means ... instead of opening 7 mcdx files in single instance of MP 10.0.0.0 you can start 7 instances of MP 10.0.0.0 and open single mcdx in each of them
      • unfortunately I do not know if it is possible copy&paste between different instances of MP 10.0.0.0

Martin Hanák

View solution in original post

9 REPLIES 9

Hi,

I guess that the problem is related to specific mcdx file (containing time-consuming calculations) ...


Martin Hanák
StuartBruff
23-Emerald III
(To:MartinHanak)


@MartinHanak wrote:

Hi,

I guess that the problem is related to specific mcdx file (containing time-consuming calculations) ...


Possibly, but I don't think there were any particularly time-consuming calculations going on most of the time it has happened.  I did note that Mathcad was taking up about 4GiB RAM when I checked during one of its "absences", but my Dell was still not using much more than 16 GiB out of 32 GiB.  

 

Stuart


@StuartBruff wrote:

@MartinHanak wrote:

Hi,

I guess that the problem is related to specific mcdx file (containing time-consuming calculations) ...


Possibly, but I don't think there were any particularly time-consuming calculations going on most of the time it has happened.  I did note that Mathcad was taking up about 4GiB RAM when I checked during one of its "absences", but my Dell was still not using much more than 16 GiB out of 32 GiB.  

 

Stuart


Hi,

if you upload some mcdx file then I can check MP10 behaviour on my notebook.


Martin Hanák
StuartBruff
23-Emerald III
(To:MartinHanak)


@MartinHanak wrote:

if you upload some mcdx file then I can check MP10 behaviour on my notebook.


Thanks, Martin.

 

Please try the workbook attached to this post: https://community.ptc.com/t5/Mathcad/Vectorization-Function-Performance-Comparison/m-p/980793/highlight/true#M214670

 

I'm trying to fix the problem of not halting recursion when depth is greater than the nested depth, so my current version is less than fully functional (ie, I've broke it).

 

Stuart

Hi,

I downloaded dev - Vectorization Function Performance 02.mcdx and opened it in MP 10.0.0.0. 

MartinHanak_0-1730300872462.png

MP 10.0.0.0 consumed 442 MB RAM

I did not met Not Responding status.

I assigned MP 10.0.0.0 process to single processor core. During moving scrollbox quickly by mouse the core load went to 100%.


Martin Hanák
StuartBruff
23-Emerald III
(To:MartinHanak)

Thanks, Martin. 

 

That core loading is interesting. How many worksheets did you have open at once?  I tend to have several open at a time so that I copy code from to another, maybe tinker with the code to meet a new situation and paste the code back to its original worksheet.   I think I had 7 worksheets open the last time the laptop started playing up (or down, in performance);  Mathcad said it was using about 3.5 GiB and the rest of the processes on the laptop were taking up about 13 GiB, so just over 16 GiB out 32 GiB being used and no evidence of hight peaks.

 

Stuart


@StuartBruff wrote:

Thanks, Martin. 

 

That core loading is interesting. How many worksheets did you have open at once?  I tend to have several open at a time so that I copy code from to another, maybe tinker with the code to meet a new situation and paste the code back to its original worksheet.   I think I had 7 worksheets open the last time the laptop started playing up (or down, in performance);  Mathcad said it was using about 3.5 GiB and the rest of the processes on the laptop were taking up about 13 GiB, so just over 16 GiB out 32 GiB being used and no evidence of hight peaks.

 

Stuart


Hi,

my todays test ...

  • I created 14 copies of dev - Vectorization Function Performance 02.mcdx
  • I started MP 10.0.0.0
  • I opened 14 mcdx files one by one

Conclusions

  • at the end MathcadPrime.exe process had 4GB of memory allocated
  • each subsequent File > Open dialog took longer to display
  • each subsequent mcdx file took longer to load (1st -> 12 seconds, 14th -> 30 seconds)
  • it seems to me that 4GB of memory allocated is too much for single MathcadPrime.exe process
    • I think you can open Case at PTC Support and discuss the problem with them

Information

  • MP 10.0.0.0 license enables you to start more than one instance of MP 10.0.0.0
    • this means ... instead of opening 7 mcdx files in single instance of MP 10.0.0.0 you can start 7 instances of MP 10.0.0.0 and open single mcdx in each of them
      • unfortunately I do not know if it is possible copy&paste between different instances of MP 10.0.0.0

Martin Hanák
StuartBruff
23-Emerald III
(To:MartinHanak)

Thank you very much, Martin. That’s very useful information and a good, concise report.


@DJNewman . Is this something the Development Team would be interested in?

 

The slow down in performance having several worksheets open at once is quite restrictive (well, at least to the way I work! 😀 ).

 

Mathcad’s UI slows down to the point where I don’t see what I’ve typed for a few seconds. 

 

Cheers,

 

Stuart

 

 

"I think you can open Case at PTC Support and discuss the problem with them"

I'd recommend going through that process. It lets the team establish benchmarks.

 

I know that Mathcad R&D is actively working on improving performance for the next few releases.

I manage the Creo and PTC Mathcad YouTube channels for PTC, as well as all PTC Mathcad marketing in general.
Announcements

Top Tags