cancel
Showing results for 
Search instead for 
Did you mean: 

Huge memory consumption before touching the console ?

01-05-2006 9:31 PM
1131 views 21 comments Go to solution
0 Likes
SAP Managed Tags
Subscribe

Hello SDNrs,

I was able to install the full new latest java NW SDK. I have some issues regarding memory consumption. When I reboot my PC(Pentuim 4 , 1 Gig Ram) and go to Task Manager I have immediate memory usage (PF Usage) of 1.7 Gig(after the installation!) .This is even before I touch the console and before to initiate any SAP/Java services. It looks to me like J2EE engine runs on background??! Is this the case with everyone ? Seems to me a bit strange? Shouldn't we start first all J2EE engine and all instances and than observe such a massive memory consumption or this is normal?Can we reduce this huge memory usage somehow when SAP services are not used ?Thanks for your feedback!

0 Likes

Accepted Solutions (1)

Accepted Solutions (1)

RichHeilman
Developer Advocate
Developer Advocate
0 Likes

I have a box, when it is rebooted, the engine starts automatically. Without doing anything but rebooting, my memory usage is hanging around 1.39gb

I believe that this is normal usage.

Regards,

Rich Heilman

Former Member
0 Likes

Hi Rich,

1.39 G against 1.7 G - Seems to me it is normal than since I am running 5-6 more programs simultaneously. But if all services start automatically , do we need to start the instances from the console ?

Thanks for your feedback

RichHeilman
Developer Advocate
Developer Advocate
0 Likes

When you open up SAP MMC, is your engine green? If not, then yes, you need to start it. Right click the instance and choose "Start".

Welcome to SDN. Please make sure to award points for any helpful answers that you might recieve. Thanks.

Regards,

Rich Heilman

Former Member
0 Likes

Thanks Rich,

I understand that , I haven't tried yet with this version .With the sneakpreviewslim SP11 use to be that you must initiate all services with SAP MMC first ,but here looks like it is not the case any longer.

B.t.w. I am new in the sdn , do you know by any chance if there is a place that people upload some WebDynpro practical project examples, some please that is useful for practice purposes besides the official SAP guide. Appreciate your feedback !

Regards,

Bob

RichHeilman
Developer Advocate
Developer Advocate
0 Likes

Are you looking for tutorials, here is a link.

https://www.sdn.sap.com/irj/sdn?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d

Welcome to SDN. Please make sure to award points for any helpful answers that you might recieve. Also mark your posts as solved when answered completely. THanks.

Regards,

Rich Heilman

Former Member
0 Likes

I am talking about more like their 'QuestionView' example that they had, with more practical purpose. Learning this way is good but takes so long to read step by step!

Best will be archaived projects(already built) that I can import into my SDK and play with them....

Former Member
0 Likes

Hi Rich ,

Please excuse me for not awarding points , again I am new here didn’t know all the rules but I will learn them shortly- already feel it is a nice and useful place to be!

Thank you much for being so responsive !

RichHeilman
Developer Advocate
Developer Advocate
0 Likes

Yes, SDN is a great place. You will find a lot of information here and plenty of people willing to help you. I'm not forcing you to award points, Its just a reminder to new guys about the points system. I usually only give a reminder to people who have posted 10 or less questions.

So you are looking for "ready to use" applications to import into your system? Not sure where to find something like that. There are business packages that are available, but these do business functions and need to connect to one or more systems. They are really not something that you would want to play around with or try to learn anything from. The best way to learn webdynpro is to do the tutorials one by one and try to understand the technology. Good Luck.

Regards,

Rich Heilman

Former Member
0 Likes

Hi Rich,

I understand - I will keep eye on all answers from now on).

I agree -tutorials are good(allready read some) but they are time consuming.For now that's what i am doing. Learning by examples is just faster and my personal preference.If you are into webdynpro I will for sure bother you from now on:)

thanks again!

RichHeilman
Developer Advocate
Developer Advocate
0 Likes

No problem. I would really urge you to go thru the tutorials at least once. Also there are some tutorials inside of NWDS, click Help, then Welcome. In there are some good tuturials to get you started.

Regards,

Rich Heilman

Former Member
0 Likes

Hi Rich,

Can you put a little light for me about the terminology here. I always thought the Netweaver Dev. Studio is 2.0.15 for the SP15 release? What is NWDS stands for and how can be accessed? I saw NWDS 7.0 somewhere but it doesn't tell me much?

Thanks.

RichHeilman
Developer Advocate
Developer Advocate
0 Likes

NWDS = NetWeaver Developer Studio. You are right, the 2.0.15 is for SP15 release. I believe that the NWDS 7.0 that I'v been hearing about is the NWDS that will be delivered when the ABAP and Java stacks are at the same release and SP level.

Regards,

Rich Heilman

Former Member
0 Likes

Hi Rich/sdnrs,

I have 2 problems creating my first webdynpro project.

1.When I go to file-new-project-webdynpro->(enter name)->next I have the the following error:

Plug in name: Web Dynpro Archive Builder

Plug in id: com.sap.ide.webdynpro.archivebuilder

class: com.sap.ide.webdynpro.archivebuilder.project.WebDynproStandaloneProjectWizard

Method: createJavaProject(IProject, IProgressMonitor)

Message: Problems encountered while setting project description.

Exeption: org.eclipse.core.runtime.CoreException: Problems encountered while setting project description.

I am very frustrated cause I can't do any step futher.

Please help me ASAP! Is there any special settings on the SDK?

2.My Help doesn't work at all - it used to be (with SP11 slim) when i go - 'Help-SAP was docum-SAP webdynpro appl ' and I had my help window poped up.Now I dont have anything!

Thank you much in advance!

Bob

Former Member
0 Likes

Hi Rich

I have chosen not to installed MaxDB Database Manager.All may Java servers are working fine and the 2 instances are green.Do I really need to install this Manager or i can develop without it(since it is only manager)?Why is needed,

Sorry for kind of not so wise questions..)

Thank you!

regards,

Bob

RichHeilman
Developer Advocate
Developer Advocate
0 Likes

You don't need the manager unless you intend or manipulating data in the database directly. You don't really need it. You create your tables and other dictionary objects via the Java Dictionary part of NWDS.

Regards,

Rich Heilman

Former Member
0 Likes

Hi Rich ,

Thank you for you answer regarding MaxDB manager!I will skip it for now.

Can you please help mi with Dev Studio problem . I am stuck - cant do anything!Is there any settings on Dev Studio that I must do after installation?

(my SAPMMC console is all green)

Here is the log file:

MESSAGE Sap NetWeaver Developer Studio - Unknown Sap Internal Installation

And also:

!MESSAGE Jan 8, 2006 1:53:54 AM com.sap.ide.webdynpro.ui.service.ServicesUI [Thread[main,5,main]] Error: Internal error

Plugin name: Web Dynpro Archive Builder

Plugin ID : com.sap.ide.webdynpro.archivebuilder

Class : com.sap.ide.webdynpro.archivebuilder.project.WebDynproStandaloneProjectWizard

Method : createJavaProject(IProject, IProgressMonitor)

Message : Problems encountered while setting project description.

Exception : org.eclipse.core.runtime.CoreException: Problems encountered while setting project description.

Former Member
0 Likes

I would appreciate some practical Import/Export advice.

Previously I was practicing with the WebDynpro tutorials on SP11. Before switcing to SP15 I was in the middle of the Webdynpro example. I wanted to save my current job so I can continue from same point when I switch to SP15 later on. That is why:

- I saved the whole workspace folder from SP11.

- I also exported my projects as JAR and ZIP files.

1) Is it possible to import project from SP11 to SP15 ?

2) how many options I have to do it if yes :

- Import as Jars or Zips or the whole workspace?

In general I am going to read how to do it but if I have some feedback what are my options here

and may be some practical advice I would appreciate it.

regards,

RichHeilman
Developer Advocate
Developer Advocate
0 Likes

If you have have your old workspace folder in the same directory where the new installation is pointed to, the projects should be visible. You may have to open the projects, in the Web Dynpro perspective, click on Package Explorer, right click the project, choose Open Project, now switch to the Web Dynpro Explorer, right-click on the project and choose Rebuilt Project, doing this should regenerate the code for SP15.

Regards,

Rich Heilman

Former Member
0 Likes

Hi Rich,

I wasn't able to do exactly as you said for some reason but it was close.

- copied the old project folder under the workspace

- from package explorer or navigator , right click on any open current project - import

- import existing project into workspace

- import from file system ( gave the name of the folder) .Done

Then rebuild.Gave me hundreds of warnings :

import com.sap.tc.webdynpro.progmodel. ..etc IS NEVER used?Due to the new SP15 I guess..

But was able to rebuild and deploy it.

Helpful tip to copy the project folder into the workspace -thanks!

Former Member
0 Likes

Hi Rich,

I just completed my web dynpro quiz application from the tutorials.I have done all steps one by one . I dont think I missed something but still ..you never know.I compiled the application first.No problems ..only few warnings. Than I try to deploy and run it and have this message:

'500 Internal server error

Failed to process request. Please contact your system administrator.'

I am very frustrated cause I want to see the fruit of my work. BTW in the middle of the work I was able to deploy and run it( saw the View, buttons and so on..) , but something is happened after that during maping and binding, I think but I am not sure.

Or may be my appl is fine but my server is screwed up?I have no idea what is going on..??

All instances on SAPMMC are green.

Can you please give me some tips?Or may be best would be if you dont mind - I can send you my WebDynpro_Quiz project folder(about 1 M) to you and see if you can figure something out?If you can run it then probably my server is screwed up .. I appreciate your help in advance!

Regards,

Bob

Former Member
0 Likes

Here is the log file from the deployment afterwards it failed:

an 17, 2006 5:43:07 AM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] INFO:

[001]Additional log information about the deployment

<!LOGHEADER[START]/>

<!HELP[Manual modification of the header may cause parsing problem!]/>

<!LOGGINGVERSION[1.5.3.7185 - 630]/>

<!NAME[C:\usr\sap\J2E\JC00\SDM\program\log\sdmcl20060117044304.log]/>

<!PATTERN[sdmcl20060117044304.log]/>

<!FORMATTER[com.sap.tc.logging.TraceFormatter(%24d %s: %m)]/>

<!ENCODING[Cp1252]/>

<!LOGHEADER[END]/>

Jan 17, 2006 5:43:04 AM Info: -


Starting deployment -


Jan 17, 2006 5:43:04 AM Info: Loading selected archives...

Jan 17, 2006 5:43:04 AM Info: Loading archive 'C:\usr\sap\J2E\JC00\SDM\program\temp\temp42600WebDynpro_Quiz.ear'

Jan 17, 2006 5:43:04 AM Info: Selected archives successfully loaded.

Jan 17, 2006 5:43:04 AM Info: Actions per selected component:

Jan 17, 2006 5:43:04 AM Info: Update: Selected development component 'WebDynpro_Quiz'/'local'/'LOKAL'/'0.2006.01.17.05.41.49' updates currently deployed development component 'WebDynpro_Quiz'/'local'/'LOKAL'/'0.2006.01.17.05.37.01'.

Jan 17, 2006 5:43:04 AM Info: The deployment prerequisites finished without any errors. All items are correct.

Jan 17, 2006 5:43:04 AM Info: Saved current Engine state.

Jan 17, 2006 5:43:04 AM Info: Error handling strategy: OnErrorStop

Jan 17, 2006 5:43:04 AM Info: Update strategy: UpdateAllVersions

Jan 17, 2006 5:43:04 AM Info: Starting: Update: Selected development component 'WebDynpro_Quiz'/'local'/'LOKAL'/'0.2006.01.17.05.41.49' updates currently deployed development component 'WebDynpro_Quiz'/'local'/'LOKAL'/'0.2006.01.17.05.37.01'.

Jan 17, 2006 5:43:04 AM Info: SDA to be deployed: C:\usr\sap\J2E\JC00\SDM\root\origin\local\WebDynpro_Quiz\LOKAL\0.2006.01.17.05.41.49\temp42600WebDynpro_Quiz.ear

Jan 17, 2006 5:43:04 AM Info: Software type of SDA: J2EE

Jan 17, 2006 5:43:04 AM Info: ***** Begin of SAP J2EE Engine Deployment (J2EE Application) *****

Jan 17, 2006 5:43:06 AM Info: Begin of log messages of the target system:

06/01/17 05:43:06 - ***********************************************************

06/01/17 05:43:06 - dm_msg_0044

Jan 17, 2006 5:43:06 AM Info: End of log messages of the target system.

Jan 17, 2006 5:43:06 AM Info: ***** End of SAP J2EE Engine Deployment (J2EE Application) *****

Jan 17, 2006 5:43:06 AM Info: Finished successfully: development component 'WebDynpro_Quiz'/'local'/'LOKAL'/'0.2006.01.17.05.41.49'

Jan 17, 2006 5:43:07 AM Info: J2EE Engine is in same state (online/offline) as it has been before this deployment process.

Jan 17, 2006 5:43:07 AM Info: -


Deployment was successful -


Answers (0)