|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Large source code slows workbench |
« View previous topic :: View next topic » |
Author |
Message
|
martinrydman |
Posted: Tue May 04, 2004 8:47 am Post subject: Large source code slows workbench |
|
|
 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 |
|
 |
jefflowrey |
Posted: Tue May 04, 2004 9:01 am Post subject: |
|
|
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 |
|
 |
martinrydman |
Posted: Wed May 05, 2004 10:43 pm Post subject: |
|
|
 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 |
|
 |
jefflowrey |
Posted: Thu May 06, 2004 3:02 am Post subject: |
|
|
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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|