ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Large source code slows workbench

Post new topic  Reply to topic
 Large source code slows workbench « View previous topic :: View next topic » 
Author Message
martinrydman
PostPosted: Tue May 04, 2004 8:47 am    Post subject: Large source code slows workbench Reply with quote

Centurion

Joined: 30 Jan 2004
Posts: 139
Location: Gothenburg, Sweden

Hi,

I'm putting together a fairly large piece of mapping code. The code is generated by an external tool we've developed in-house, and then pasted into a PROCEDURE in the ESQL-file in a sub-flow. Problem is, the workbench takes ages to process this (we're talking 10-15 minutes), and also when any changes are done to the chunk of code. This renders the whole approach virtually useless.

To give a feeling for the size of code, we're talking about 1500 lines of code, of which a fair amount are lines with a IF THEN <assignment> END IF; construct on each line.

I'm running on a machine with 1 Gb memory, Intel III Mobile 1000 Mhz, Win2000.

Any hints, suggestions etc greatly appreciated!

/Martin
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue May 04, 2004 9:01 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

The first thing is to use references instead of full paths to variables.

If you are working with, say, child nodes of OutputRoot.MRM.MessageBody.ComplexType1.ComplexType2, then creating a reference to that, and then setting myRef.Field1, myRef.Field2, etc will speed up your execution.
**********

Edited:
The above is still true, and a good idea. But it's not what you're asking about.

Try adding -XmxNNNm (like -Xmx512M) to the -vmargs options to mqsistudio.exe in your shortcut.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
martinrydman
PostPosted: Wed May 05, 2004 10:43 pm    Post subject: Reply with quote

Centurion

Joined: 30 Jan 2004
Posts: 139
Location: Gothenburg, Sweden

Hi,

Thanks. I'm trying to find the syntax for the mqsistudio.exe somewhere, but can't. So, couple of questions:
- What does a complete commandline look like?
- What is the default setting for this?

Thanks a bunch in advance!

/Martin
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu May 06, 2004 3:02 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

martinrydman wrote:
Hi,

Thanks. I'm trying to find the syntax for the mqsistudio.exe somewhere, but can't.

Probably, the place these are listed is in the Help. Or on eclipse.org, since mqsistudio is basically an eclipse runtime. Although the arguments I'm mentioning are JVM arguments, not eclipse arguments.
Quote:
So, couple of questions:
- What does a complete commandline look like?
- What is the default setting for this?
As far as I know, the default command line in the shortcuts in your program menu is "<path to WBIMB root>/eclipse/mqsistudio". And there probably isn't a default value for the vmargs maximum JVM heap size.

And I should have had you put something in the MINIMUM JVM heap size vmarg, which is -Xms not -Xmx. Sorry!
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Large source code slows workbench
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.