Pentaho 8.2 : Pentaho never opens after increasing Java Memory - pentaho

I am using Pentaho 8.2 community edition.
I have the common error of Java Heap Memory.
According to this forum on other topics which refer this issue, I followed the instructions to increase the memory in the .bat file
But when I increase the memory (PENTAHO_DI_JAVA_OPTIONS) in the spoon.bat file, Pentaho Application never opens and no error message appears.
Do you know what i have to do ?
Thank You in advance,
Thanos

Related

How to start GraphDB database in command line?

I have installed a GraphDB server free version on a linux server and I am trying to start the database now by command line, but the way to start the installed database described in the official document is by clicking the application icon. (see: https://graphdb.ontotext.com/documentation/free/quick-start-guide.html), which is clearly not a valid measure for me. So the question is what command line I should use, or what I can do to start the installed GraphDB database.
Thank you very much in advance!

How to find memory leak/consumption using JProfiler in offline mode?

How to find memory leak/consumption using JProfiler in offline mode on Linux production machine?
Thanks.
Memory leaks are analyzed in the heap walker. Regardless of offline mode or not, you have to save a heap dump at some point. In offline mode this is done with a "Trigger heap dump" trigger action.
You can also use the "jpdump" command line utility to get an HPROF heap dump from a JVM where the JProfiler agent is not loaded at all.

Unable to start the JVM - Windows 7

Our company IT recently went through an upgrade and I don't know what else they changed to the defaults but Excel 2013 32-bit (w/ MATLAB Compiler Runtime add in) crashes multiple times a day and it's driving me crazy.
I looked through the solutions to other similar questions but still having no luck. The exact error that I'm receiving is attached in the picture below. I've tried editing the environment variable to various amounts and checked that the free physical memory is available (has 16G total and usually half is free)
Running java -version in the command prompt returns:
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b31)
Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)
The Java Control Panel Runtime Environment Settings reference javaw.exe but I changed the environment variables on both the java.exe and javaw.exe (in both Program Files and Program Files (x86).
Unable to start the JVM.
Picked up _JAVA_OPTIONS: -Xmx1024m -Xms512m
Error occurred during initialization of VM
Could not reserve enough space for budget heap
There is not enough memory to start up the Java virtual machine.
Try quitting other applications or increasing your virtual memory
It says it does not have enough space.
Change the setting for JVM Maximum Memory to 1024M
-Xmx1024m
Are there such setting for your plugin ? You might want to Google "JVM heap size settings for Excel MAtlab plugin".
Please take a look at this question as well. (Increase default heap size for windows)
Hope this helps!

Error while using jprofiler for profiling remote weblogic server

Hi I am new to jprofiler . My task is to profile a remote weblogic server for which i have followed the steps for remote profiling and came till sh file creation which the jprofiler creates itself. As i have read I need to start my weblogic server with this sh file .
But i am stuck up with the following error.
:Error occured during initialisation of VM could not find agent library in the absolute path ......./linuxX64/libjprofilerti.so
I can see the file in path mentioned in the error. Help needed quickly .
Thanks in advance,
Raghu dev
Likely, you're profiling a 32-bit JVM, not a 64-bit JVM. Repeat the integration wizard and deselect the "64-bit JVM" check box on the "Profiled JVM" step. Then it should work.
uncheck the 64-bit vm option in jprofiler while creating the profiling settings. this should solve the issue

Simple-OpenNI for Processing fatal errors with the Kinect

I have been using SimpleOpenNI, a wrapper for Processing, all summer now. I use it for the Kinect to make games and demos. Last week, I have been getting a fatal error in my processing window and none of the SimpleOpenNI projects will work. Here is the error:
SimpleOpenNI Version 0.20
A fatal error has been detected by the Java Runtime Environment:
EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x72e8f955, pid=4596, tid=4624
JRE version: 6.0_24-b07
Java VM: Java HotSpot(TM) Client VM (19.1-b02 mixed mode windows-x86 )
Problematic frame:
C [OpenNI.dll+0xf955]
An error report file with more information is saved as:
C:\Users\mss042\Desktop\processing-1.5.1\hs_err_pid4596.log
If you would like to submit a bug report, please visit:
http://java.sun.com/webapps/bugreport/crash.jsp
The crash happened outside the Java Virtual Machine in native code.
See problematic frame for where to report the bug.
It appears as if the new OpenNI/NITE/SensorKinect drivers do not work with the SimpleOpenNI wrapper. I have tried it with people using the old drivers and everything still works. Problem is, you cannot download the old drivers off of the websites so I cannot test if it's that or not. You can see everything I've downloaded from the simpleopenni site: http://code.google.com/p/simple-openni/
Any help with this error would be appreciated. Thanks.
Mike
It looks like there's a problem with OpenNI.dll. Make sure that:
You have the dll (It should be in Program Files where you've installed OpenNI)
Make sure you've got the Environment Variables for the Open NI paths and that the paths are correct, otherwise, you might have the .dll file, but the .jnilib wouldn't know where it is.
Had a Kinect Workshop in Uni, and my colleagues using Windows all had issues with the drivers,
so I'm just passing on what they did:
Even though they had 64-bit versions of Windows they used the 32-bit version, and used Brekel OpenNI Kinect Auto Installer - Developer Edition v1.3.2.3.exe(direct link via developkinect.com) after reading this message:
Comment 4 by tijmenva...#gmail.com, Oct 21, 2011 Hey all I have Solved
the unsatisfied link dll error on windows 7 64 bits by installing java
runtime (jre-7u1-windows-i586.exe)and (Brekel OpenNI Kinect Auto
Installer - Developer Edition v1.3.2.3.exe) I uninstalled everything
and than it worked :)
hope this helpes
in Issue#17 on the SimpleOpenNI project issues page.
Another colleague used Synapse and OSC in Processing instead of SimpleOpenNI, but she had loads of errors with the drivers (basically spent a few good hours uninstalling/installing different versions). In her case, uninstalling any previous partial or complete drivers from the machine and deleting any registry entries related to PrimeSense(Sensor, Nite) and OpenNI, then using the installers from the links on the Synapse page, worked for her.
HTH
This is a long shot, but that exact error is also given if the Kinect USB and/or power supply simply becomes unplugged. Thought it was worth mentioning as it is not obvious from the error message itself and it may help someone out if they kicked their power supply and started searching for the above exception :)