Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 10473

Re: Which part takes more memory?

$
0
0

SAP SAP SAP wrote:

 

I have developed a WDA, unfortunately it's memory (menu - > WD - > Check -> Generation limit) crossed the limit of 1 MB, my WDA's is 1.6MB

 

If you component's generation limit is crossed over 1 MB, its time to split the component into small components and integrate those components by using component usage concept.

 

 

As answered by Mr. Chandra,

 

Views consume more space as its a heavy element in WDA ( i.e, view contains layout, context nodes, attributes, etc. )

 

Do not have very huge view i.e. do not desing view with lot of ui elements. Try to keep it simple.

 

If you have to have a very complex application, split component into comp1, comp2, etc. and each component may have upto 5 views ( if its very small.. you can have upto 10 ).

 

Use these components in your main component and integrate the logic

 

 

Regards,

Rama


Viewing all articles
Browse latest Browse all 10473

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>