dail8859 / LuaScript

Notepad++ plugin for Lua scripting capabilities

Home Page:https://dail8859.github.io/LuaScript/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NP++ Dedicated GPU memory spiking because of this plugin

teebu opened this issue · comments

commented

What do you have in your startup script?

commented
-- Startup script
-- Changes will take effect once Notepad++ is restarted

editor1.Technology = SC_TECHNOLOGY_DIRECTWRITE
editor2.Technology = SC_TECHNOLOGY_DIRECTWRITE

Have you tried removing those?

Is there a simple way to reproduce this issue?

commented

Commenting out those calls seem to resolve the issue.

Then it isnt a problem with this plugin. All that does is set a flag on the two Scintilla instances within Notepad++. Your best option would be to open an issue with the Scintilla project.

commented

Thanks. I set this a few years ago and forgot about it. I think I was trying to make the fonts render better.

Most likely the only reason someone would use this flag is to support ligatures (e.g. Fira Code font, etc)

commented

There must be a memory leak in the way the implement it. If i load really big files, the value keeps going up and never releases.

Again your best option is to report this to the Scintilla project as I have no clue how it actually implements the text rendering.