Closed formusiclgl closed 6 years ago
how many contacts do you have? Do you see memory usage growing in a hour/day?
4 contacts, RAM allocate may change +- 20-30 MB per day
I see 38M consumption with official release and 300 contacts. If you use portable build you have to manually remove everything useless from myspell/dicts otherwise all of them will be loaded taking a lot of memory.
After clearing myspell/dicts consumption is ok.
And what may I do in this case? Do you suggest to delete all languages except six chosen ones (as done in builds from KukuRuzo)? This is discrimination of other users...
BTW, Which language for spell checking is default in settings? Hunspell should not load all available languages, if only one or few languages are selected.
I honestly don't know. There are many ways to solve this.
What we need is the idea which will satisfy the majority. But currently installer has language selector and the problem is related to portable builds.
In setting->application->language is By default. I cannot find spell checking language settings. Acceptable variant like Firefox do. Right mouse button click on input field->spell checking->choose language. At first time load only relevant by setting->application->language
I believe Firefox also has not trivial logic behind. For example it offers me to select Spanish while my system has no Spanish dicts. I guess it collects some stats somehow and offers relevant based on them. In Psi we can always load English (as a very popular language) and some others based on current locale and selected language for interface. But put them all in the menu like in Firefox not the good idea. There are too many languages. Nevertheless I like how it's done in Firefox.
PS I learn Spanish
There are too many languages
Yes. If you installed many languages in Firefox, so there will be many languages too. So
I cannot find spell checking language settings.
Settings dialog --> Advanced --> options --> ui --> spell-check --> langs (use short language names and comma as a separator, for example "ru,en")
Thank you! it's hard to find
I have empty Settings dialog --> Advanced --> options --> ui --> spell-check --> langs
I have just checked in WinXP: the amount of memory used by Psi+ does not depend on value of langs
variable in settings. It looks like a bug in our usage of hunspell.
More over, after deleting of myspell
subdirectory Psi+ launches and connects to xmpp servers almost momentary. So it is definitely a bug and serious one.
Added a simple workaround to all portable builds. See available-dicts
subdirectory and ReadMe.dictionaries.txt
.
If you move ReadMe.dictionaries.txt to folder with psi-plus-portable.exe more then 1 people will read it :)
@formusiclgl This is only a temporary workaround. KukuRuzo is working on real solution now.
Fixed in b7f8ecdb8864f4a88a97c37672aecb986cbf6578
Hello! Psi+ v1.2.75 (2017-09-12, Psi:f78fd0ec, Psi+:43fb3ea) Win7 sp1 x64. Psi+ take 530 MB RAM, is it normal ?