Hi, I've been using Pharo Launcher for quite a while and problem that I am constantly encountering is that launching of it becomes slower and slower. Up until now I've solved it by writing a bash script that downloads the launcher fresh and reconfigures it. And then I've executed the script about once a week. But I am little bit fed-up by it… is this a common behavior? Or is it constrained to my machine? For example, if I execute the following (so I can time it) time /opt/pharo-vm/cog/pharo --nodisplay --textenc UTF-8 /opt/pharo-launcher/PharoLauncher.image eval '1+1' (also I have right now about ~27 images in the Launcher) fresh download (yesterday): ~0.49s today: 0.91s (almost double) and in a week it will be be maybe 10 seconds. I can just setup cronjob that resets pharo launcher every day, but a systemic solution would be better. Thanks, Peter |
On 03/03/16 21:56, Peter Uhnák wrote:
> I've been using Pharo Launcher for quite a while and problem that I am > constantly encountering is that launching of it becomes slower and slower. > > But I am little bit fed-up by it… is this a common behavior? Or is it > constrained to my machine? I'm not aware of a slowdown on linux, using PharoLauncher all the time. On my MBP, it always starts within one bounce. Stephan |
In reply to this post by Peter Uhnak
Hi Peter,
Peter Uhnák <[hidden email]> writes: > I've been using Pharo Launcher for quite a while and problem that I am > constantly encountering is that launching of it becomes slower and > slower. Stéphane, in CC, reported the same months ago on OS X. I don't know if Stéphane still experiences the problem. Could you please try to remove write access to the .image and .changes files? -- Damien Cassou http://damiencassou.seasidehosting.st "Success is the ability to go from one failure to another without losing enthusiasm." --Winston Churchill |
Yeah I saw that when he was in Prague (incidentally that's where my launcher slowdown started :)). I've removed write access and will report back in couple of days. :) Thanks, Peter On Fri, Mar 4, 2016 at 11:24 AM, Damien Cassou <[hidden email]> wrote: Hi Peter, |
Hi Peter, I see you had this problem 12 months ago.
http://lists.pharo.org/pipermail/pharo-users_lists.pharo.org/2015-February/017026.html What you can try is in development mode, closing the PharoLauncher window, nil out class variables and garbage collect, then check what instances remain of PharoLauncher classes. cheers -ben On Fri, Mar 4, 2016 at 6:42 PM, Peter Uhnák <[hidden email]> wrote: > Yeah I saw that when he was in Prague (incidentally that's where my launcher > slowdown started :)). > > I've removed write access and will report back in couple of days. :) > > Thanks, > Peter > > On Fri, Mar 4, 2016 at 11:24 AM, Damien Cassou <[hidden email]> > wrote: >> >> Hi Peter, >> >> Peter Uhnák <[hidden email]> writes: >> > I've been using Pharo Launcher for quite a while and problem that I am >> > constantly encountering is that launching of it becomes slower and >> > slower. >> >> Stéphane, in CC, reported the same months ago on OS X. I don't know if >> Stéphane still experiences the problem. Could you please try to remove >> write access to the .image and .changes files? >> >> -- >> Damien Cassou >> http://damiencassou.seasidehosting.st >> >> "Success is the ability to go from one failure to another without >> losing enthusiasm." --Winston Churchill > > |
2016-03-04 17:15 GMT+01:00 Ben Coman <[hidden email]>: Hi Peter, I see you had this problem 12 months ago. I use pharo launcer a lot (on windows) and I did not see any slow down. But I don't use it for anything else then launching the images. Do you notice the slow down by launching images or do you use the PharoLauncher image for anything else?
|
On Sat, Mar 5, 2016 at 1:59 AM, Nicolai Hess <[hidden email]> wrote:
> > > 2016-03-04 17:15 GMT+01:00 Ben Coman <[hidden email]>: >> >> Hi Peter, I see you had this problem 12 months ago. >> >> http://lists.pharo.org/pipermail/pharo-users_lists.pharo.org/2015-February/017026.html >> >> What you can try is in development mode, closing the PharoLauncher >> window, nil out class variables and garbage collect, then check what >> instances remain of PharoLauncher classes. >> >> cheers -ben > > > > I use pharo launcer a lot (on windows) and I did not see any slow down. > But I don't use it for anything else then launching the images. > Do you notice the slow down by launching images or do you use the > PharoLauncher image for anything else? I think it was more when I was helping with PharoLauncher development and would close down/open it a lot. Since I've been mostly only using it I haven't noticed the problem. Or the root of that particular issue was fixed. cheers -ben > >> >> >> On Fri, Mar 4, 2016 at 6:42 PM, Peter Uhnák <[hidden email]> wrote: >> > Yeah I saw that when he was in Prague (incidentally that's where my >> > launcher >> > slowdown started :)). >> > >> > I've removed write access and will report back in couple of days. :) >> > >> > Thanks, >> > Peter >> > >> > On Fri, Mar 4, 2016 at 11:24 AM, Damien Cassou <[hidden email]> >> > wrote: >> >> >> >> Hi Peter, >> >> >> >> Peter Uhnák <[hidden email]> writes: >> >> > I've been using Pharo Launcher for quite a while and problem that I >> >> > am >> >> > constantly encountering is that launching of it becomes slower and >> >> > slower. >> >> >> >> Stéphane, in CC, reported the same months ago on OS X. I don't know if >> >> Stéphane still experiences the problem. Could you please try to remove >> >> write access to the .image and .changes files? >> >> >> >> -- >> >> Damien Cassou >> >> http://damiencassou.seasidehosting.st >> >> >> >> "Success is the ability to go from one failure to another without >> >> losing enthusiasm." --Winston Churchill >> > >> > >> > |
In reply to this post by Peter Uhnak
Same here.
3 min to launch So I cloned the laucnher from time to time and it is a mess :) Stef Le 3/3/16 21:56, Peter Uhnák a écrit : > Hi, > > I've been using Pharo Launcher for quite a while and problem that I am > constantly encountering is that launching of it becomes slower and slower. > > Up until now I've solved it by writing a bash script that downloads > the launcher fresh and reconfigures it. And then I've executed the > script about once a week. > > But I am little bit fed-up by it… is this a common behavior? Or is it > constrained to my machine? > > For example, if I execute the following (so I can time it) > time /opt/pharo-vm/cog/pharo --nodisplay --textenc UTF-8 > /opt/pharo-launcher/PharoLauncher.image eval '1+1' > > (also I have right now about ~27 images in the Launcher) > > fresh download (yesterday): ~0.49s > today: 0.91s (almost double) > > and in a week it will be be maybe 10 seconds. > > I can just setup cronjob that resets pharo launcher every day, but a > systemic solution would be better. > > Thanks, > Peter |
In reply to this post by Peter Uhnak
I'm a bug attractor. I can crash yosemite in 0.5 s: drag and drop two files on the desktop and bam you get the loggin screen :)
|
In reply to this post by Nicolai Hess-3-2
Hi nicolai
what you use it for? I'm intrigued. Stef Le 4/3/16 18:59, Nicolai Hess a écrit :
|
> Same here. > 3 min to launch Stef, try to disable write access on a fresh install to the PharoLauncher.changes and PharoLauncher.image At least for me it seems that it stays fast now. > Do you notice the slow down by launching images or do you use the PharoLauncher image for anything else? I use it just for images management (downloading, removing, renaming, recreating), I don't run actual programs from there. But `chmod a-w PharoLauncher.*` seems to work well for now. On Sat, Mar 5, 2016 at 10:38 AM, stepharo <[hidden email]> wrote:
|
Le 5/3/16 10:57, Peter Uhnák a écrit :
You mean with Unix? chmod a-w PharoLauncher.changes? Oki I will try :)
|
On Sun, Mar 6, 2016 at 6:13 PM, stepharo <[hidden email]> wrote:
Yes, and both files (image + changes). |
Free forum by Nabble | Edit this page |