View Full Version : C7.2 template registration
NewsArchive
06-07-2010, 01:46 AM
Hi Friedrich,
I know this isn't your issue, but with 7.2 I'm seeing a very long delay when
the template is being registered - on my virtual machine it's over a minute
with no visual activity - lot of hd activity though. If I remember
correctly this was claimed to be the startup time for .net to get the
ClarionCL.exe running, but it seems a VERY long time!
Best regards,
--
Arnor Baldvinsson - Icetips Alta LLC
Port Angeles, Washington
www.icetips.com - www.buildautomator.com
NewsArchive
06-07-2010, 01:47 AM
Hi Arnór,
> I know this isn't your issue, but with 7.2 I'm seeing a very long delay
> when the template is being registered - on my virtual machine it's over a
> minute with no visual activity - lot of hd activity though. If I remember
> correctly this was claimed to be the startup time for .net to get the
> ClarionCL.exe running, but it seems a VERY long time!
I remember a discussion back in December 2008 / January 2009. I think it is
somewhat machine dependent and the "protection software" product used can
make a (huge) difference. And yes, the startup time for .NET can also cause
a delay.
But as a side note, I did not notice any negative template registration
performance issue with the new Clarion 7.2.
Friedrich
NewsArchive
06-07-2010, 01:47 AM
Hi Friedrich,
> I remember a discussion back in December 2008 / January 2009. I think it is
> somewhat machine dependent and the "protection software" product used can
> make a (huge) difference. And yes, the startup time for .NET can also cause
> a delay.
Hmm... It could be some protection stuff as I did an update on the virtual
machine before I started testing with 7.2... Thanks for the pointer:)
Best regards,
--
Arnór Baldvinsson - Icetips Alta LLC
Port Angeles, Washington
www.icetips.com - www.buildautomator.com - www.altawebworks.com
Icetips product subscriptions at http://www.icetips.com/subscribe.php
NewsArchive
06-07-2010, 01:48 AM
Hi Friedrich,
Just had ClarionCL.exe just go south on me. After 3 minutes it was still
hacking away at 99% CPU and slowly increasing memory (68MB at the end).
Definitely something not kosher going on in there;)
Best regards
--
Arnor Baldvinsson - Icetips Alta LLC
Port Angeles, Washington
www.icetips.com - www.buildautomator.com
NewsArchive
06-07-2010, 01:49 AM
Arnor,
> Just had ClarionCL.exe just go south on me. After 3 minutes it was still
> hacking away at 99% CPU and slowly increasing memory (68MB at the end).
> Definitely something not kosher going on in there;)
That happened to me when registering my RPM template. What registering
that template did was kill the template registry and leave it without
ANY previous templates. ClarionCL didn't return because, I guess, it
was confused!<g>
--
Lee White
Enroll Today at http://CWaddons.com
Reports....: http://www.cwaddons.com/products/rpm/
Free Review: http://www.clarionmag.com/cmag/v11/v11n06rpm.html
Faxing.....: http://www.cwaddons.com/products/afe/
NewsArchive
06-07-2010, 01:49 AM
> That happened to me when registering my RPM template. What registering
> that template did was kill the template registry and leave it without
> ANY previous templates. ClarionCL didn't return because, I guess, it
> was confused!<g>
Try registering your template manually and see what happens in the
IDE. For mine, it showed up in the tree but when the tree was saved an
error popped up - which may be why ClarionCL froze - and going back
into the registry showed it was empty!
--
Lee White
Enroll Today at http://CWaddons.com
Reports....: http://www.cwaddons.com/products/rpm/
Free Review: http://www.clarionmag.com/cmag/v11/v11n06rpm.html
Faxing.....: http://www.cwaddons.com/products/afe/
NewsArchive
06-07-2010, 01:49 AM
Hi Lee,
> Try registering your template manually and see what happens in the
> IDE. For mine, it showed up in the tree but when the tree was saved an
> error popped up - which may be why ClarionCL froze - and going back
> into the registry showed it was empty!
Manual registration works fine. I had registered those templates previously
without issues, but it seems that at some point ClarionCL.exe got completely
unresponsive. After tracing it via Process Monitor this happens after it
registers some fonts and exits a thread. Unfortunately PM hung up on me too
so I couldn't get the log out of it! After the Exit Thread statement it
just sat there at around 95% CPU and nothing happened at all. Left it for 5
minutes, no joy.
Best regards,
--
Arnór Baldvinsson - Icetips Alta LLC
Port Angeles, Washington
www.icetips.com - www.buildautomator.com - www.altawebworks.com
Icetips product subscriptions at http://www.icetips.com/subscribe.php
NewsArchive
06-07-2010, 01:50 AM
Arnor,
> Unfortunately PM hung up on me too
It's a sign... to call it a day!<g>
--
Lee White
Enroll Today at http://CWaddons.com
Reports....: http://www.cwaddons.com/products/rpm/
Free Review: http://www.clarionmag.com/cmag/v11/v11n06rpm.html
Faxing.....: http://www.cwaddons.com/products/afe/
NewsArchive
06-07-2010, 01:50 AM
Hi Arnór,
> Just had ClarionCL.exe just go south on me. After 3 minutes it was still
> hacking away at 99% CPU and slowly increasing memory (68MB at the end).
> Definitely something not kosher going on in there;)
I don't see this with my test templates, but the templates are very simple
and I always test on a clean machine with a clean Clarion 7.2 install.
IIRC, there was a similar problem two years ago and SV fixed it. Perhaps
the issue is back? I would suggest to open up a PTSS so they can review it.
Friedrich
NewsArchive
06-07-2010, 02:05 AM
Hi Friedrich,
> IIRC, there was a similar problem two years ago and SV fixed it. Perhaps
> the issue is back? I would suggest to open up a PTSS so they can review it.
Well, I went back to a clean snapshot and it registered fine. Haven't run
into this again. I do my tests on a clean XP with just C6, C7 and some
other simple installs (editor, total commander etc.). So it is about as
clean as it can be:)
Best regards,
--
Arnór Baldvinsson - Icetips Alta LLC
Port Angeles, Washington
www.icetips.com - www.buildautomator.com - www.altawebworks.com
Icetips product subscriptions at http://www.icetips.com/subscribe.php
NewsArchive
06-07-2010, 02:06 AM
Hi Arnór,
>> IIRC, there was a similar problem two years ago and SV fixed it. Perhaps
>> the issue is back? I would suggest to open up a PTSS so they can review
>> it.
>
> Well, I went back to a clean snapshot and it registered fine. Haven't
> run into this again. I do my tests on a clean XP with just C6, C7 and
> some other simple installs (editor, total commander etc.). So it is about
> as clean as it can be:)
:) I hate computers <g>
Friedrich
NewsArchive
06-08-2010, 01:41 AM
Computers always lie, but they are never wrong!
>
> :) I hate computers <g>
>
> Friedrich
>
>
>
--
Russell B. Eggen
www.radfusion.com
Clarion developers: www.radfusion.com/devs.htm
NewsArchive
06-08-2010, 01:42 AM
Its worked in the 6 or 8 times I've used it over the weekend. Well, actually, the
SB installs that call it <g>. Arnor - sounds like a one off.
--
Russell B. Eggen
www.radfusion.com
Clarion developers: www.radfusion.com/devs.htm
NewsArchive
06-08-2010, 01:42 AM
Hi Russ,
> Its worked in the 6 or 8 times I've used it over the weekend. Well, actually, the
> SB installs that call it <g>. Arnor - sounds like a one off.
I'm calling a dll from the installs (all of them when installing for C7) and
I wonder if that may have an impact on it. I had been installing and
registering templates probably about 10 times while testing couple of
installs and then all of a sudden it started this. Looking at the log from
Process Monitor didn't give me much except that it had registered some fonts
and when it locked up it had just exited a thread - that was the last thing
it did before it locked up. Unfortunately Process Monitor went south along
with it so I couldn't retrieve the log for further inspection:(
Best regards,
--
Arnór Baldvinsson - Icetips Alta LLC
Port Angeles, Washington
www.icetips.com - www.buildautomator.com - www.altawebworks.com
Icetips product subscriptions at http://www.icetips.com/subscribe.php
NewsArchive
06-08-2010, 01:43 AM
One thing I noticed with C7 (not SB7) is that I would get some alarming error
messages that turned out to be bogus *every* time. I've started to learn to
ignore them, but I do have to slow down and build one app and then proceed onward.
I've been working with SV on narrowing this down and we are getting closer. This
may be what you are seeing when you build your solutions. IOW - I only see this
happen in "batch" mode, which I believe is how your BA works. Not quite ready to
disclose everything yet as I've not found the cause, but I'm getting there <g>
--
Russell B. Eggen
www.radfusion.com
Clarion developers: www.radfusion.com/devs.htm
NewsArchive
06-09-2010, 01:12 AM
Hi Russ,
> I've been working with SV on narrowing this down and we are getting closer. This
> may be what you are seeing when you build your solutions. IOW - I only see this
> happen in "batch" mode, which I believe is how your BA works. Not quite ready to
> disclose everything yet as I've not found the cause, but I'm getting there <g>
This is when the installer calls ClarionCL.exe to register the templates and
has nothing to do with building solutions. BA uses MS-Build to build
MS-build compatible solutions or projects such as VS, Clarion, RadStudio
etc.
But there is definitely something in ClarionCL.exe that is not kosher and
can bring it down. It takes about 2-3 times longer for ClarionCL.exe to
load and register a template than it takes for me manually to run C7 and
register the same template! In my tests (I ran about 40 installs, most of
them on clean XP install) it would _always_ take about a minute to register
a template. Sometimes it would take a minute and a half.
Best regards,
--
Arnór Baldvinsson - Icetips Alta LLC
Port Angeles, Washington
www.icetips.com - www.buildautomator.com - www.altawebworks.com
Icetips product subscriptions at http://www.icetips.com/subscribe.php
NewsArchive
06-09-2010, 01:13 AM
Based on my observations, I've always been able to register template myself faster
than ClarionCL. Its definitely better since it was first released. But what I
was pointing out that it *sounds* like one thread starts it executing and
immediately another thread starts, but it needs the results of the completion of
the first thread before it can do meaningful work.
I only say this as I've seen that when doing similar tasks elsewhere (and not in
SB). It's a WAG on my part, but I'm working on narrowing this down and its slow
going so far.
--
Russell B. Eggen
www.radfusion.com
Clarion developers: www.radfusion.com/devs.htm
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.