A suggestion for ReflectionImageList

SyntaxEditor for Windows Forms Forum

Posted 18 years ago by Dong JIA
Avatar
I am integrating actipro syntax editor into my project as a formula. And there may be hundreds of formula in my product.
When I use ReflectionImageList, I get "Out of memery". :)
A suggestion for it: why not change ReflectionImageList to a SINGLETON mothed? It will be more effective and less memory. :)

Comments (3)

Posted 18 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
We used to have it as a static property but people didn't like that it was retained in memory even after all SyntaxEditor objects were closed. I'd recommend getting it once, storing it in a global variable for further use and using that instance from that point on.


Actipro Software Support

Posted 18 years ago by Dong JIA
Avatar
"getting it once, storing it in a global variable for further use and using that instance from that point on"-- It is what I do. :)
Posted 18 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
And you still get out of memory even when doing that, or were you saying you got it before doing that?


Actipro Software Support

The latest build of this product (v24.1.0) was released 5 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.