Page Index Toggle Pages: 1 Send TopicPrint
Hot Topic (More than 10 Replies) Net Diagram crashes in ImageMap mode (Read 5826 times)
manu
YaBB Newbies
*
Offline


Manu bhai moter chale
pum pum pum...

Posts: 25
Location: Japan
Joined: May 25th, 2008
Net Diagram crashes in ImageMap mode
Feb 27th, 2009 at 2:43am
Print Post  
I am generating a organization chart with more then 300 node.
I am using Table structure to construct a node and also including employee photo in the organization chart.

While generating performance is very slow and sometime its crashes.

Please help.

Regards
Manoj
  

Regards&&Manoj
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Net Diagram crashes in ImageMap mode
Reply #1 - Feb 27th, 2009 at 5:22am
Print Post  
What exception message are you getting? GDI+ throws an exception if the image gets very big - about 3000x3000 pixels. If that's the problem, set the MaxImageSize property.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
manu
YaBB Newbies
*
Offline


Manu bhai moter chale
pum pum pum...

Posts: 25
Location: Japan
Joined: May 25th, 2008
Re: Net Diagram crashes in ImageMap mode
Reply #2 - Mar 6th, 2009 at 2:57am
Print Post  
I am already using MaxImageSize property but still having crash problem
Also Image map mode is super slow during expanding collapsing nodes with 300+ nodes and after 2, 3 clicks diagram crashes.

I tried to use JavaAppleat mode. Its interaction is much better with around 30-50 nodes but it is not able to generate Large diagram at all. Just gives blank screen (No error).

Is there some thing like MaxImageSize for Java Applet mode also??
  

Regards&&Manoj
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Net Diagram crashes in ImageMap mode
Reply #3 - Mar 6th, 2009 at 5:53am
Print Post  
What kind of exception are you getting in ImageMap mode? Could you email the diagram saved in xml file to support@mindfusion.eu, and also copy the exception details shown when the exception happens?

Is there any error message shown in the Java console when loading large diagrams in applet mode?
  
Back to top
 
IP Logged
 
bkernan
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 37
Joined: May 28th, 2009
Re: Net Diagram crashes in ImageMap mode
Reply #4 - Jan 15th, 2010 at 2:25pm
Print Post  
Hello, I am having a similar problem with the JavaApplet mode and the blank screen.

We have diagrams laying out relationships of related documents. Some diagrams load (all under 2 minutes) and others don't. For the ones that do not there is no error message generated by asp.net, there is just the blank screen and the loading bar stuck in the middle. This issue is on our live site so I cannot properly debug it.

Did this discussion generate any good ideas as to what could be causing this problem? Thanks
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Net Diagram crashes in ImageMap mode
Reply #5 - Jan 15th, 2010 at 2:44pm
Print Post  
Hi,

Is there anything shown in the Java console?

Stoyan
  
Back to top
 
IP Logged
 
bkernan
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 37
Joined: May 28th, 2009
Re: Net Diagram crashes in ImageMap mode
Reply #6 - Jan 19th, 2010 at 1:46pm
Print Post  
Hello,

the page never finishes loading, so you do not see any of the html rendered or the java applet, it remains a white screen. The loading bar at the bottom of the browser continues to animate.

I looked at an 'earlier version' of one of the diagrams that is not loading, when it had less nodes and relationships, and its size is about 8,400,000 square pixels. I noticed the GDI + errors on 9,000,000. The newest version of my diagram probably has a few more nodes adding a few rows worth of half a million pixels to push it over the GDI + limit. This may be my problem.

For JavaApplet mode, will setting the MaxImageSize work? or is that only for ImageMap mode?

Thanks : )

  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Net Diagram crashes in ImageMap mode
Reply #7 - Jan 19th, 2010 at 3:20pm
Print Post  
Hi,

MaxImageSize works only for ImageMap mode. Recent versions of Java allow setting the memory limit of the applet using a parameter of the <APPLET> element. We have added a property for this but haven't released it yet. Meanwhile you can check if increasing the memory limit will help by adding -Xmx300m to the runtime options in the Java Control Panel.

Stoyan
  
Back to top
 
IP Logged
 
bkernan
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 37
Joined: May 28th, 2009
Re: Net Diagram crashes in ImageMap mode
Reply #8 - Jan 19th, 2010 at 3:25pm
Print Post  
Thanks for your quick reply, I'll post my results.
  
Back to top
 
IP Logged
 
bkernan
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 37
Joined: May 28th, 2009
Re: Net Diagram crashes in ImageMap mode
Reply #9 - Jan 22nd, 2010 at 5:09pm
Print Post  
Hello,

I tryed to add a parameter dynamically to increase the memory size by using the AppletStartScript attribute, not sure if that worked : ). Applet probably already loads by the time the script is called.

Since the blank screen error is only occuring on our live site (which I do not have permissions to) I will not be able to test if increasing the memory helps.

Do you know when your next release will be available?   

Thank you
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Net Diagram crashes in ImageMap mode
Reply #10 - Jan 25th, 2010 at 1:59pm
Print Post  
Hi,

Yes, it's too late to do that from AppletStartedScript.

Please try this version:
https://mindfusion.eu/_beta/netdiag31.zip

The property is called JavaArguments and its value should be in the same format you would use in the Java Control Panel.

I believe you should have at least Java 1.6 update 10 for this property to work; it corresponds to the "java_arguments" applet <param>.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
bkernan
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 37
Joined: May 28th, 2009
Re: Net Diagram crashes in ImageMap mode
Reply #11 - Jan 29th, 2010 at 1:16pm
Print Post  
Hey Stoyan,

thanks for the beta version. On our testing sites, small diagrams loaded faster, but large ones still took a while to load (probably due to the database interaction alongside the large image size).

As we cannot test the beta version on our live site (the only place our blank page error occurs), we'll wait for the next release : )

Thanks!
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint