Author Topic: AHMI project freezing and low on memory  (Read 628 times)

GreatestUsernameEver

  • Newbie
  • *
  • Posts: 11
    • View Profile
AHMI project freezing and low on memory
« on: February 12, 2021, 12:31:59 PM »
I have a project that is being implemented on a system that consists of a Click PLC and AHMI program that control a Centerless Grinder. After a while the operator reported that a message popped up saying the system was low on memory and has on multiple occasions no control over the HMI. To alleviate the issue of the the low memory I turned off some background apps but the problem still persisted. Additionally with the freezing issue the HMI wouldn't allow the operator to interact with the machine but interestingly would still update the display with data from the PLC. My best guess is that within the program I didn't manage resources effectively with a buffer of sorts that expands infinitely, but was curious if anyone had experience with the same issue or has any ideas as to why.

Any input is appreciated  :)
-Zach

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5262
    • View Profile
    • AdvancedHMI
Re: AHMI project freezing and low on memory
« Reply #1 on: February 12, 2021, 01:52:59 PM »
We would need to see the code, if any, that you added to the application.

timryder

  • Jr. Member
  • **
  • Posts: 83
  • Still trying to figure it out
    • View Profile
Re: AHMI project freezing and low on memory
« Reply #2 on: February 12, 2021, 02:25:06 PM »
An infinitely expanding buffer? Yeah that'd do it. Agree with Archie, would need to see the code of the project to better help.
What's the point of the Buffer, what kind of object is it?
Still just trying to figure out this thing called Life.