# Vision Client slowdown

**URL:** <https://forum.inductiveautomation.com/t/vision-client-slowdown/14463>\
**Category:** General Discussion\
**Created:** [June 6, 2017, 9:25pm UTC](https://forum.inductiveautomation.com/t/vision-client-slowdown/14463 "2017-06-06T21:25:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MaximePuntis](https://avatars.discourse-cdn.com/v4/letter/m/d78d45/32.png) [@MaximePuntis](https://forum.inductiveautomation.com/u/MaximePuntis)\
**Post date:** [June 6, 2017, 9:25pm UTC](https://forum.inductiveautomation.com/t/vision-client-slowdown/14463/1 "2017-06-06T21:25:27Z")

</div>

Hi

I have a problem.  
After a little time (1h), the vision client slows down. After 2h, the are very slow. The bug grows with time. If you restart the vision client, the vision client work correctly for one moment.  
I am in vs 7.7.8. I am try vs 7.9.2 and it’s the same.

I am try to find the problem. I see client diagnostics and the memory rises and falls.

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/6/617d84746a55765e41ca2a49d732af3702efe7dd.png)

I am use ignition vs7.9 new functionality for try to find my problem.  
In web server, status, Vision Clients, Client Details, in the Log Activity i am set “min level” to “trace” and i see lot of “ClientSubscriptionProxy.poll() start” and “ClientSubscriptionProxy.poll() - end (0ms”

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/0/0a983d8489fd8ea09a4851556beefe37dee1d7fa.png)

I am test to rebuild the gateway from an empty project. After re-import the project and publish it, i have the same problem.

I certainly did a bullshit but that !!  
Some one have an idea ? Do you have some tracks ?

Thank.  
Maaxime.

---

<div class="post-metadata">

**Author:** ![MaximePuntis](https://avatars.discourse-cdn.com/v4/letter/m/d78d45/32.png) [@MaximePuntis](https://forum.inductiveautomation.com/u/MaximePuntis)\
**Post date:** [June 8, 2017, 8:43pm UTC](https://forum.inductiveautomation.com/t/vision-client-slowdown/14463/2 "2017-06-08T20:43:34Z")

</div>

Hi  
I'm find the problem :  
I flash the "unselected foreground color" on a tab strip. It's the problem.  
I do it for button alarm, When there is an unacknowledged alarm.  
For my application, I deactivated the blinking and it's good !!

Here's how I did, If someone wants to reproduce the bug and fix it...

On tab strip, i add 2 custom property:

- Alarm : boolean
- textColor : color

I linked "Alarm" with an expression :

> {[System]Gateway/Alarming/Active and Unacked} || {[System]Gateway/Alarming/Clear and Unacked}

Setting of "style customiser" :

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/8/87cdc45b516ba4889d9d88f276d4426e1db9b425.png)  
(I use 400/400 to cause the bug faster for my tests)

Setting of "Tab Data" :

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/9/99fae3ff997d3a3a3291023502a8d761ec581fc9.png)

Now you have the text of your button flashing on new alarm but after a few minutes of blinking the CPU time goes up dangerously !!
