SAP Lumira – Geek Tweaks
I’ve been playing around with Lumira for a while now and tried some geeky tweaks on it. Here are some of which I am sharing through this post. A word of caution though. Please try them at your own risk. For geeks only.
Trick 1: Minimise ‘low memory’ errors
SAP Lumira runs on SAP JVM. Since the entire system runs on it, there are times when insufficient virtual memory may lead to performance issues, latency etc. Increasing the virtual memory in this case, say 1024 MB for a 4 GB machine, will help you avoid low memory errors and significantly improve performance too.
How do you go about? Well, all you need to do is edit the SAPLumira.ini found on the installation folder. Voila! You’re done.
Trick 2: Import as much as you want
While importing large datasets, it isn’t unusual to encounter an error message thrown by Lumira. This happens because of the cap on the maximum number of rows of a dataset that can be imported into Lumira.
Solution: Edit the maxvizdatasetsize in the SAPLumira.ini file
Trick 3: Personalize the Splash screen
Give a personal touch to the splash screen that you can see while the application is launched. Personalize it with photographs or funny images/texts to your liking & add some fizziness to your start.
Here are the 2 simple steps:
- Access the ‘splash.bmp’ image in the folder %HOMEPATH%\ .sapvi\ configuration\ org.eclipse.equinox.launcher\ com.sap.hilo.branding.vi_1.17.0.201406070027-1094 \ splash.bmp
- Replace the image with any .bmp image of your choice.
We’re done.
In case you want to revert it, simply delete the image you uploaded. The default image gets loaded automatically.
Note: Ensure that the image is in .bmp format.
Trick 4: Speed up Lumira
When you use Lumira for a long time, you may find an unexplainable sluggishness. You’d wish if only there was a way to speed things up. Well, its possible. All you need to do is clean the cache files. Access %HOMEPATH%\.sapvi\desktopCache and delete them.
Trick 5: Why should it be the default port always?
SAP Lumira uses Jetty server for rendering the charts and other visuals on the screen inside the application, and runs on port 54643 by default. But in any case you would want to change the port to something else, you can edit the file
Change the preferredHttpPort property to the port you need.
Trick 6: Log what matters alone
Log files often get bloated with inconsequeintial messages that are hardly actionable. However, it can be very helpful if there’s a method to streamline it. You can achieve this by editing the file BO_trace.ini found in the installation folder
Set active=true, importance=XL, severity=error. Uncomment the parameters that you want to include. You can also edit other parameters like the log file capacity and the log extension.
Trick 7: Creating content behind Lumira
This was the most fun part. You can build content behind Lumira that will be rendered along with the Lumira UI but behind the visualization frame. You will need to scroll down to view the extension.
Note: Extension can be loaded inside the body instead of g division to get this.
You can load other types of Javascript extensions as well inside the body and can modify the property of the default charts with the component CSS.
Conclusion
These are just a very few I found and I’m sure there are many many more. If you find any interesting tweaks, please feel free to comment below.
Happy tweaking!
Hi Shankar, This is a wonderful post. Truly appreciated.
I am referring to point Trick 7: Creating content behind Lumira
Currently I am developing an extension which has an HTML table. in Vizpacker it shows perfectly fine. But when I use this extension in Lumira the HTML table display behind the visualization frame. Which is a strange and funny and not only it disturbs the Lumira menu options as well. Do we have a fix for this. As per me it should be display in as like in-build Lumira extensions. Your help on this highly appreciated.
- Hari
Hi Hari,
Make sure you have added your visualization on "vis" division. That should work fine.
Regards
Shankar
Hi!
I have this problem that relates on your #1.
I install SAP Lumira the very 1st time with no problem then when I open it. this message always pops up. When i try to change -XmX: 728m > -Xmx:1024 > SAVE.
the mesage still pops up.
can you pls help me? i would appreciate it so much!
Hi,
Can you brief me more about your platform? which Operating system what is the system configuration so that we can figure it out.
Regards
Shankar
I am using Windows 7. 32-bit
I DL SAP Lumira from the site. 32 bit. installed well. but when i only try to open it. the problem occurs.
Thanks for Replying ASAP!
How much RAM does the system have?
Hari,
I hope this is resolved now. You needed to check "use div" option. thanks to @Matt Lloyd for suggesting this.
Raghu
Yes. This issue has been resolved after implementing below changes.
1) Using div tag.
2) Adjusting the height and width of the container.
as I need big container to hold the HTML table which can grow based on the dataset (rows & columns), I have enabled a container scroll-bar option so that i can scroll the and see the data.
Thanks Raghu and @Matt Lloyd.
Cheers,
Hari
Awesome post Shankar! You should enter the DataGeek III challenge, expert level to receive an awesome data geek tshirt and possibly win a fitbit!
Thanks Jane,
I just applied now 🙂 thanks for the information. Hope to win a Tshirt 😉
Cheers
Shankar
Just a side comment. i think your trick 2 is not fully right. This parameter is not about import dataset size, it is about max number of data points allowed in one viz.
Antoine
Antoine,
You are right, its actually the data points. My language sometimes play with me, so i tend to refer it as import datasize.
Do post some other tricks you find here.
Peace
Shankar
Thanks Shankar, great post
But for the trick two any idea how can Import a big dataset
I've dataset with millions of records when I import it
it comes just around 500.000!
thanks in advance : )
Hi,
according to the desktop user guide, there are limits on the amount of data that can be imported.
http://help.sap.com/businessobject/product_guides/vi01/en/lum_119_user_en.pdf
see section 2.1 Acquiring data from data sources
you will be notified by a warning at 15 million cells for 32-bit operating systems, and 30 million cells for 64-bit operating systems.
note: Cells = rows x columns
regards,
H
Does anyone know how to create a defualt profile for the users to always get certain plugins and default to a SAP BI Platform URL?