Is ist possible to define heap size when start with java -jar

Hi,
I start my application as executable jar. How can I set the heapsize when double clicking myapp.jar ? With java -Xmx512m -jar myapp.jar it should go. But can I specify this when double clicking the myapp.jar ?
Thanks
Oli

For all jars it is not acceptable I think.... the value as entry in the manifest.mf could be nice... :(

Similar Messages

  • Is It Possible To define a size of the Procedure Parametere?

    In Oracle Is It Possible To define a size of the Procedure Parametere?
    If i have the procedure like
    Test_sp(no int,name varchar2)
    Is it possible to define a size
    Test_sp(no int(5),name varchar2(255))
    Thanks
    Rangan S

    As Anthony said - no, not in the parameter signature of a procedure or a function. Which could have unexpected run-time errors as one could wrongly assume that using a "derived" type will allow this.
    The following example illustrates:
    SQL> create table datatype(
    2 varchar2_5 varchar2(5),
    3 number1 number(1)
    4 );
    Table created.
    SQL>
    SQL>
    SQL> create or replace procedure fooProc( s datatype.varchar2_5%TYPE, n datatype.number1%TYPE ) is
    2 s1 datatype.varchar2_5%TYPE;
    3 n1 datatype.number1%TYPE;
    4 begin
    5 begin
    6 DBMS_OUTPUT.put_line( 'len='||length(s)||' value='||s );
    7 DBMS_OUTPUT.put_line( 'value='||to_char(n) );
    8 exception when OTHERS then
    9 DBMS_OUTPUT.put_line( 'parameter display failed with error '||SQLERRM(SQLCODE) );
    10 end;
    11
    12 begin
    13 s1 := s;
    14 DBMS_OUTPUT.put_line( 'string parameter assignment succeeded' );
    15 exception when OTHERS then
    16 DBMS_OUTPUT.put_line( 'string assignment failed with error '||SQLERRM(SQLCODE) );
    17 end;
    18
    19 begin
    20 n1 := n;
    21 DBMS_OUTPUT.put_line( 'number parameter assignment succeeded' );
    22 exception when OTHERS then
    23 DBMS_OUTPUT.put_line( 'number assighment failed with error '||SQLERRM(SQLCODE) );
    24 end;
    25 end;
    26 /
    Procedure created.
    SQL>
    SQL> exec fooProc( 'test1', 1 );
    len=5 value=test1
    value=1
    string parameter assignment succeeded
    number parameter assignment succeeded
    PL/SQL procedure successfully completed.
    SQL>
    SQL> exec fooProc( 'this should fail', 1 );
    len=16 value=this should fail
    value=1
    string assignment failed with error ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    number parameter assignment succeeded
    PL/SQL procedure successfully completed.
    SQL>
    SQL> exec fooProc( 'test', 1234 );
    len=4 value=test
    value=1234
    string parameter assignment succeeded
    number parameter assignment succeeded
    PL/SQL procedure successfully completed.
    SQL>
    Note that only the string assignment fails. The string parameter works fine. And there is no impact at all on the number side, despite seemingly constraining it to a single digit.

  • Help!!!  Brand new MBP with Santa Rosa Kernel Panics when started with...

    Help!!! Brand new MBP with Santa Rosa Kernel Panics when started with external HD firewire 800 after 20 sec...
    I don't know what it could be???
    Do you???
    Thanx
    Jay

    I'm actually having a similar issue and I don't think its related to networking at all.
    I'm currently working in a corporate environment where we deploy pre-built OS X images to machines. I recently upgraded my images to 10.4.10 before we got our first Santa Rosa machine. This image was built on a MacPro and worked on all Intel Macs down to a MacMini CoreSolo. When I deployed my prebuilt image to the SR MBP, it caused a kernel panic immediately.
    Further investigation revealed previous builds of OS X, including 10.4.10 upgraded from any other model Intel Mac will kernel panic the SR MBP. Going backwards the SR Build of OSX will not work on any previous model Mac, as any other build typically does, but causes severe graphical distortion, as if it does not have the display drivers for the other Macs.
    To make a long story short, I think your issue comes from the fact that your external hard drive has an older build of OS X 10.4 than the SR MBP will run (even though you may have upgraded it to 10.4.10). Anyone who can corroborate my story with some more testing, please chime in.
    I haven't found a solution for this issue yet other than keeping a seperate Santa Rosa Core 2 Duo image for my deployments.

  • Why JVM shows another Heap size when Xms=Xsx?

    Hi everybody. I have two instances of oc4j on a cluster of two nodes. The configuration of parameters on opmn.xml is exactly the same for both instances.
    Particulary I see an strange behavior on memory heap. I expect that if Xmx and Xms parameters are equals to 4096, then the heap size must be fixed on 4 Gb exactly, and there will be not resizing.
    But monitoring the heaps with JVisualVM I can see that the heap size of the first instance is moving between 3.7 and 4 Gb, and the Heap size of the second node is moving around 3.2 Gb. The hosts have both 16 Gb of RAM, it's running on Windows 2003 Server R2 and there is no overload on the OS.
    Possibly the behavior is normal and I just have a wrong understanding of what is expectable.
    Here are some parameteres extracted from opmn.xml file:
    -D64
    -Dcom.sun.management.jmxremote
    -Xmx4096M
    -Xms4096M
    -XX:+UseParallelGC
    -verbose:gc
    -XX:+PrintGCTimeStamps
    -XX:+PrintGCDetails
    -Xloggc:D:\oracle\product\10.1.3\soa\j2ee\OC4J_SOA\archivo_loggc.log
    -Dcom.sun.management.jmxremote.port=8004
    -Dcom.sun.management.jmxremote.authenticate=false
    -Dcom.sun.management.jmxremote.ssl=false
    -Djava.security.policy=D:\oracle\product\10.1.3\soa\j2ee\OC4J_SOA\config\java2.policy
    -Djava.awt.headless=true
    -Dhttp.webdir.enable=false
    -Doc4j.userThreads=true
    -Doracle.mdb.fastUndeploy=60
    -Doc4j.formauth.redirect=true
    -Djava.net.preferIPv4Stack=true
    -Dorabpel.home=D:\oracle\product\10.1.3\soa\bpel
    -Xbootclasspath/p:D:\oracle\product\10.1.3\soa\bpel\lib\orabpel-boot.jar
    -Dstdstream.filesize=8
    -Dstdstream.filenumber=30
    -Dhttp.proxySet=false
    -XX:MaxPermSize=768M
    -XX:PermSize=768M
    -Doraesb.home=D:\oracle\product\10.1.3\soa\integration\esb
    -Dorabpel.process.lock.timeout=300
    -Drmi.client.connection.timeout=100
    -Doracle.dms.hunter.sleeptime=600000
    -Doracle.dms.gatherers=300000,2:1800000:3
    -Djavax.net.ssl.keyStore=D:\oracle\product\10.1.3\soa\jdk\jre\lib\security\cacerts
    -Djavax.net.ssl.keyStorePassword=changeit
    -DopmnPingInterval=90
    -Xrs
    -DHTTPClient.socket.staleCheck=true
    -DHTTPClient.disableKeepAlives=true
    -XX:+HeapDumpOnOutOfMemoryError

    Hi Sebastien, Thanks for responding.
    In fact I'm looking exactly where you say to determine your heap size.
    The thing is that I can't understand why one instance takes some minor heap size and fluctuates the size while the other instance take around 4 Gb and kept static in this value. I can see there is no diferences on configuration for both. I know that the used heap must present diferent behavior, but not the total size. I think that the size should be fixed and static with Xmx=Xms=4096, but this is not happening.
    I would like to show an image to ilustrate what I'm describing.
    About the PermGen, I think there's no problem with that, around 80% is in effective use, and this value is stable.
    Best regards

  • Default Heap Size when using jmsc.dll

    We have had some crashes using Weblogic JMS (v 11.x) with one of our C-API apps.
    How can I find out the xmx size being used by Java?

    If you turn on JMSDEBUG (by setting it to 'y') the JMS C API may print out the JVM options. The log messages will go to the files started with "ULOG" in the directory where your app runs from. You can change the location by setting the ULOGPFX variable in your client environment.
    You can override the JVM settings with JMSJVMOPTS variable.
    Hope this helps.

  • [CS3 Win]It is possible read an ini file when starting InDesing and hide some menus?

    Hi all.
    My plugin reads a ini file to configurate the main menu.
    It is possible read this file when starting InDesing and hide some submenus created in Myplugin.fr?
    I have no problem to hide/show a menu, but I don´t know what is the first event that runs after loading my plugin.
    Is there other possible way to do this?
    Thanks in advance.
    Best regards,
    Juanma.

    Have you tried implementing a startup/shutdown service provider (IID_IAPPSTARTUPSHUTDOWN)? If it's too late to hide the menu, then an IMenuFilter/IActionFilter should do the job for you to hide menu. Or you can dynamically build the menu on the fly too (see dynamicmenu sample from SDK)
    -lee

  • Max heap limited when running with a JVMTI agent?

    Running an app with a JVMTI agent, I cannot specify a max heap greater than 320Mb, even on a 1Gb machine with hardly anything running. Specifying for example -Xms256m -Xmx512m results in following error:
    Error occurred during initialization of VM
    Could not reserve enough space for object heap
    Could not create the Java virtual machine.
    No problem at all with a JVMPI agent.
    Anyone any ideas?
    Thanks,
    Luc

    JVM TI agent libraries are loaded very early in the startup and before the java heap is reserved. JVMPI agents, on the other hand, are loaded much later in the startup. You didn't mention which operating system this is but I assume it's Windows. If so, then you may need need to rebase the agent DLL to allow the java heap be reserved.

  • C++ process hangs when started from Java

    I am trying to execute a c++ code from java on a remote Windows machine. In order to deal with the remote part, I have created a Web service from where the actual command is run using Runtime.exec(). The c++ exe is not being called directly from the java code. I have a batch file that eventually calls the exe.
    The problem is, both java and c++ processes hang. The java code on server side does handle the output stream and error stream. Also, the c++ code is logging everything in a file on Windows. The strange thing is that, when I remove the WS call and run the java code on server side as a standalone java program, it succeeds. Also, execution of the batch file alone does not hang. Here is the java code:
    public class RunCPlusPlusExecutable {
    public int runExecutable() {
        int exitValue = 0;
        try {
            Process p = null;
            Runtime rt = Runtime.getRuntime();
            System.out.println("About to execute" + this + rt);
            p = rt.exec("c:/temp/execcplusplus.bat");
            System.out.println("Process HashCode=" + p.hashCode());
            StreamProcessor errorHandler = new StreamProcessor(p.getErrorStream(), "Error");
            StreamProcessor outputHandler = new StreamProcessor(p.getInputStream(), "Output");
            errorHandler.start();
            outputHandler.start();
            exitValue = p.waitFor();
            System.out.println("Exit value : " + exitValue);
            if (exitValue == 0)
                System.out.println("SUCCESS");
            else
                System.out.println("FAILURE");
        } catch (IOException e) {
            e.printStackTrace();
        } catch (InterruptedException e) {
            e.printStackTrace();
        } catch (Exception e) {
        return exitValue;
    class StreamProcessor extends Thread {
        private InputStream is = null;
        private String type = null;
        private InputStreamReader isr = null;
        private BufferedReader br = null;
        private FileWriter writer = null;
        private BufferedWriter out = null;
        StreamProcessor(InputStream is, String type) {
            this.is = is;
            this.type = type;
        public void run() {
            try {
                isr = new InputStreamReader(is);
                br = new BufferedReader(isr);
                writer = new FileWriter("*******path to log file********");
                out = new BufferedWriter(writer);
                String line = null;
                while ((line = br.readLine()) != null) {
                    Date date = new Date();
                    out.write("[" + type + "]: " + date + " : " + line);
                    out.newLine();
                writer.flush();
            } catch (IOException ioe) {
                ioe.printStackTrace();
            } finally {
                try {
                    if (br != null)
                        br.close();
                    if (isr != null)
                        isr.close();
                    if (out != null)
                        out.close();
                    if (writer != null)
                        writer.close();
                } catch (IOException e) {
                    e.printStackTrace();
    String line = null;
                while ((line = br.readLine()) != null) {
                    Date date = new Date();
                    out.write("[" + type + "]: " + date + " : " + line);
                    out.newLine();
                writer.flush();
            } catch (IOException ioe) {
                ioe.printStackTrace();
            } finally {
                try {
                    if (br != null)
                        br.close();
                    if (isr != null)
                        isr.close();
                    if (out != null)
                        out.close();
                    if (writer != null)
                        writer.close();
                } catch (IOException e) {
                    e.printStackTrace();
    The WS server is running from some admin user. And I have been running the standalone java program from some other user. It seems that the c++ executable is giving referenced memory error when being executed from WS call. There are pop-ups citing the error with OK and Cancel buttons(visible when logged in as admin). The error states
    The instruction at 0x05473030 referenced memory at 0x000001d4. The memory could not be read
    Any idea what is causing the problem and how to debug it? Why does this memory error comes only when the exe is run through WS call? Please note that I won't be able to debug the c++ code and the web service is an apache axis2 service.
    Thanks

    How can I know? Its your environment, not mine. The only thing we know is that when running the stuff through one path things blow up and when you run them through another path, things don't blow up. User rights is an obvious suspect, but not necessarily the actual problem. Generally when rights are the problem, you get some form of "access denied" exception, not a code hang.
    Another likely possibility is that of network settings; perhaps your server goes through a proxy and your local applications do not, or the other way around.
    Yet another likely possibility is that the version of Java used is different, or different versions of libraries are no the classpath causing differences in behavior. There is only one way to figure it out: get to know your environment very well and through solid reasoning and experimentation try to figure out where the breaking point is. It all starts with answering this question: what might be different in the environment of the web server, and outside of it? I can't know, only you can. Good luck.

  • Java.io.IOException when starting with nodemanager

    Hello !
    I am on:
    Windows 2000 SP 3
    Weblogic Server 6.1 SP 4
    I obtain the error above when starting a managed server with
    nodemanager. After issuing the "start this server" commnad from withing
    Weblogic console I obtain:
    <2003-02-15 21:23:59 CET> <Info> <NodeManager@s1nodea:5001>
    <WindowsProcessControl: online successfully invoke
    d on server 'nodea', pid: 1844>
    and next the following exception in Console window:
    The server finally starts and is visible in console as "running".
    What is the problem ?
    sincerely Olek
    PS The message in polish language is "java.io.IOException: The system
    cannot find the path specified"
    <2003-02-15 21:23:59 CET> <Info> <NodeManager@s1nodea:5001>
    <WindowsProcessControl: online successfully invoked on server 'nodea', pid:
    1844>
    Starting WebLogic Server ....
    Connecting to http://s1admin:7001...
    <2003-02-15 21:24:07 CET> <Notice> <WebLogicServer> <Starting WebLogic
    Managed Server "nodea" for domain "onlinestore">
    Could not create deployment file.
    java.io.IOException: System nie mo|e odnalez okre[lonej [cie|ki
          at java.io.Win32FileSystem.createFileExclusively(Native Method)
          at java.io.File.createNewFile(File.java:688)
          at
    weblogic.management.internal.LocalDeploymentInfoManager.readDeploymentFile(L
    ocalDeploymentInfoManager.java:100)
          at
    weblogic.management.internal.LocalDeploymentInfoManager.<clinit>(LocalDeploy
    mentInfoManager.java:66)
          at
    weblogic.management.mbeans.custom.ApplicationManager.cleanUpTempDir(Applicat
    ionManager.java:685)
          at
    weblogic.management.mbeans.custom.ApplicationManager.createOrCleanupTempDir(
    ApplicationManager.java:664)
          at
    weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(Appl
    icationManager.java:308)
          at
    weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManage
    r.java:164)
          at java.lang.reflect.Method.invoke(Native Method)
          at
    weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl
    .java:636)
          at
    weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:6
    21)
          at
    weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBea
    nImpl.java:374)
          at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
          at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
          at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
          at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
          at $Proxy39.start(Unknown Source)
          at
    weblogic.management.configuration.ApplicationManagerMBean_CachingStub.start(
    ApplicationManagerMBean_CachingStub.java:480)
          at weblogic.management.Admin.startApplicationManager(Admin.java:1309)
          at weblogic.management.Admin.finish(Admin.java:649)
          at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:542)
          at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:213)
          at weblogic.Server.main(Server.java:35)
          java.io.IOException: System nie mo|e odnalez okre[lonej [cie|ki
          at java.io.Win32FileSystem.createFileExclusively(Native Method)
          at java.io.File.createNewFile(File.java:688)
          at
    weblogic.management.internal.LocalDeploymentInfoManager.writeDeploymentFile(
    LocalDeploymentInfoManager.java:129)
          at
    weblogic.management.internal.LocalDeploymentInfoManager.put(LocalDeploymentI
    nfoManager.java:156)
          at weblogic.j2ee.Component.retrieveComponent(Component.java:343)
          at weblogic.j2ee.Component.<init>(Component.java:188)
          at weblogic.j2ee.WebAppComponent.<init>(WebAppComponent.java:45)
          at weblogic.j2ee.Application.addComponent(Application.java:149)
          at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
          at
    weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentT
    arget.java:364)
          at
    weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentT
    arget.java:150)
          at
    weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServer.java:
    76)
          at java.lang.reflect.Method.invoke(Native Method)
          at
    weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl
    .java:636)
          at
    weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:6
    21)
          at
    weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBea
    nImpl.java:374)
          at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
          at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
          at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
          at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
          at $Proxy25.addWebDeployment(Unknown Source)
          at
    weblogic.management.configuration.WebServerMBean_CachingStub.addWebDeploymen
    t(WebServerMBean_CachingStub.java:1256)
          at
    weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentT
    arget.java:350)
          at
    weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Deployment
    Target.java:286)
          at
    weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(D
    eploymentTarget.java:239)
          at
    weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(Deploym
    entTarget.java:199)
          at java.lang.reflect.Method.invoke(Native Method)
          at
    weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl
    .java:636)
          at
    weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:6
    21)
          at
    weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBea
    nImpl.java:374)
          at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
          at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
          at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
          at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
          at $Proxy0.updateDeployments(Unknown Source)
          at
    weblogic.management.configuration.ServerMBean_CachingStub.updateDeployments(
    ServerMBean_CachingStub.java:3015)
          at
    weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(Appl
    icationManager.java:376)
          at
    weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManage
    r.java:164)
          at java.lang.reflect.Method.invoke(Native Method)
          at
    weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl
    .java:636)
          at
    weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:6
    21)
          at
    weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBea
    nImpl.java:374)
          at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
          at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
          at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
          at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
          at $Proxy39.start(Unknown Source)
          at
    weblogic.management.configuration.ApplicationManagerMBean_CachingStub.start(
    ApplicationManagerMBean_CachingStub.java:480)
          at weblogic.management.Admin.startApplicationManager(Admin.java:1309)
          at weblogic.management.Admin.finish(Admin.java:649)
          at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:542)
          at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:213)
          at weblogic.Server.main(Server.java:35)
          <2003-02-15 21:24:13 CET> <Notice> <WebLogicServer> <ListenThread
    listening on port 7001, ip address 192.168.1.4>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Hello Per Rune,
    I have a similar problem. Where exactly did you add the paramters? In the offline tool for the j2ee engine?
    Many thanks for your answer.
    Regards
    Michael

  • Iphoto keeps crashing, even when starting with command-option,

    does anybody have an idea ???? tried the normal steps, with the disk permission, deleten plist, and tried twice to start with command-option...
    here is the crash-log....
    thanx, magdonnellen
    Mac OS X Version 10.4.11 (Build 8S165)
    2011-01-03 08:12:59 +0100
    2011-01-03 08:13:01.541 SystemUIServer[79] lang is:en
    Main starting with pid 84 parent pid 60
    2011-01-03 08:13:04.718 Skype[84] SkypeApplication::init called
    2011-01-03 08:13:05.792 Skype[84] ChatCpntroller::loadWebViewHistory: could not load chat web view history, error (null)
    2011-01-03 08:17:42.533 iPhoto[179] Can't make new movie: -2048
    2011-01-03 08:17:42.601 iPhoto[179] Can't make new movie: -2048
    2011-01-03 08:17:42.602 iPhoto[179] Unable to export /Users/maggie/Pictures/iPhoto Library/2004/01/07/CIMG1023.JPG
    2011-01-03 08:17:42.602 iPhoto[179] IPPhotoInfo::buildThumbnail failed
    2011-01-03 08:17:42.668 iPhoto[179] Can't make new movie: -2048
    2011-01-03 08:17:42.733 iPhoto[179] Can't make new movie: -2048
    2011-01-03 08:17:42.734 iPhoto[179] Unable to export /Users/maggie/Pictures/iPhoto Library/2004/01/07/CIMG1024.JPG
    2011-01-03 08:17:42.734 iPhoto[179] IPPhotoInfo::buildThumbnail failed
    2011-01-03 08:17:42.800 iPhoto[179] Can't make new movie: -2048
    2011-01-03 08:17:42.939 iPhoto[179] Can't make new movie: -2048
    2011-01-03 08:17:42.940 iPhoto[179] Unable to export /Users/maggie/Pictures/iPhoto Library/2004/01/07/CIMG1025.JPG
    2011-01-03 08:17:42.940 iPhoto[179] IPPhotoInfo::buildThumbnail failed
    2011-01-03 08:17:43.004 iPhoto[179] Can't make new movie: -2048
    2011-01-03 08:17:43.066 iPhoto[179] Can't make new movie: -2048
    2011-01-03 08:17:43.067 iPhoto[179] Unable to export /Users/maggie/Pictures/iPhoto Library/2004/01/07/CIMG1026.JPG
    2011-01-03 08:17:43.067 iPhoto[179] IPPhotoInfo::buildThumbnail failed
    2011-01-03 08:17:44.520 iPhoto[179] Can't make new movie: -2048
    2011-01-03 08:17:44.595 iPhoto[179] Can't make new movie: -2048
    2011-01-03 08:17:44.596 iPhoto[179] Unable to export /Users/maggie/Pictures/iPhoto Library/2003/12/31/CIMG0948.JPG
    2011-01-03 08:17:44.596 iPhoto[179] IPPhotoInfo::buildThumbnail failed
    2011-01-03 08:17:51.322 iPhoto[179] Can't make new movie: -2048
    2011-01-03 08:17:51.405 iPhoto[179] Can't make new movie: -2048
    2011-01-03 08:17:51.406 iPhoto[179] Unable to export /Users/maggie/Pictures/iPhoto Library/2004/01/07/CIMG0965.JPG
    2011-01-03 08:17:51.406 iPhoto[179] IPPhotoInfo::buildThumbnail failed
    2011-01-03 08:18:15.596 iPhoto[179] Can't make new movie: -2048
    2011-01-03 08:18:15.662 iPhoto[179] Can't make new movie: -2048
    2011-01-03 08:18:15.663 iPhoto[179] Unable to export /Users/maggie/Pictures/iPhoto Library/2003/02/26/108-0885_IMG.JPG
    2011-01-03 08:18:15.663 iPhoto[179] IPPhotoInfo::buildThumbnail failed
    2011-01-03 09:54:58.086 Mail[207] WebKit Threading Violation - -[WebArchive initWithData:] called from secondary thread
    2011-01-03 09:54:58.087 Mail[207] Additional threading violations for this function will not be logged.
    2011-01-03 09:54:58.262 Mail[207] WebKit Threading Violation - -[WebArchive data] called from secondary thread
    2011-01-03 09:54:58.262 Mail[207] Additional threading violations for this function will not be logged.
    iPhoto(179,0xa000ed88) malloc: * vm_allocate(size=875970560) failed (error code=3)
    iPhoto(179,0xa000ed88) malloc: * error: can't allocate region
    iPhoto(179,0xa000ed88) malloc: * set a breakpoint in szone_error to debug
    iPhoto(179,0xa000ed88) malloc: * vm_allocate(size=842350592) failed (error code=3)
    iPhoto(179,0xa000ed88) malloc: * error: can't allocate region
    iPhoto(179,0xa000ed88) malloc: * set a breakpoint in szone_error to debug
    iPhoto(179,0xa000ed88) malloc: * vm_allocate(size=842350592) failed (error code=3)
    iPhoto(179,0xa000ed88) malloc: * error: can't allocate region
    iPhoto(179,0xa000ed88) malloc: * set a breakpoint in szone_error to debug
    iPhoto(179,0xa000ed88) malloc: * vm_allocate(size=300077056) failed (error code=3)
    iPhoto(179,0xa000ed88) malloc: * error: can't allocate region
    iPhoto(179,0xa000ed88) malloc: * set a breakpoint in szone_error to debug
    Jan 3 10:23:16 marguerite-donlons-powerbook58 crashdump[215]: iPhoto crashed
    Jan 3 10:23:30 marguerite-donlons-powerbook58 crashdump[215]: crash report written to: /Users/maggie/Library/Logs/CrashReporter/iPhoto.crash.log

    magsdonnellen
    That's not the crash log, it's some Console messages. Have a look here
    /Users/maggie/Library/Logs/CrashReporter/iPhoto.crash.log
    for the Crash log.
    Regards
    TD

  • Play music random when started with earphone or via bluetooth

    since the upgrade to iOS7 my playlists do not play normally.
    whenever I start listening music through the earphone, start with the button on the wire, it starts with a different song that I stopped (even in the middle). It doesn't occur when I start / stop the music for only a few seconds. It seems to occur when a switch takes place in the device where the music is sent to (for this particular example the bluetooth device in my car). In the past this worked fine. the playlist I regularly listen to is 102 songs long, takes a while to complete it. So since the update it won't let me listen to my favorite playlist complete, with an interuption of getting in or out of my car. Is the playlist damaged? It seems to play fine if I listen to it all at once, but whenever I stop (with change of bluetooth etc.) I am supprised by other albums on my Iphone. Any advise would be helpful

    I'm having the exact same problem, phone is connected to the car but music wont play through it. I've noticed today it said handsfree disconnected in the bluetooth and phone setting. Haven't a clue what to do but i'm finding it annoying.

  • Increase JVM heap size when calling it from C++

    I have a program that loads images and only works properly increasing heap.
    java McVImg
    gives me an Out of memory error.
    java -Xmx120M McVImg
    works fine.
    If I want to call JVM from a C++ program using Java native interface,
    How should I increase JVM heap ?
    Thanks in advance. Ignasi Villagrasa.

    I'm trying to do what you told me and it doesn't work.
    I show the C++ code I'm using:
    void JavaParam::LoadJVM()
         JavaVMInitArgs vm_args;
         JavaVMOption options[2];
    jint res;
         vm_args.version = JNI_VERSION_1_2;
    JNI_GetDefaultJavaVMInitArgs(&vm_args);
         if (res < 0)
    fprintf(stderr, " Requested version is not supported\n");
              fputs ("Requested version is not supported\n",traza);
              fflush(traza);
    exit(-1);
         //Establecemos classpath
         //Atencion el classpath ser� el jar
         //options[0].optionString = "-Djava.class.path=..";
         options[0].optionString = "-Djava.class.path=..\\mcjava.jar";
         options[1].optionString = "-Xmx120M";
         //Nuevos argumentos
    vm_args.options=options;
         vm_args.nOptions = 2;
         vm_args.ignoreUnrecognized = JNI_FALSE;
         //Creamos Maquina Virtual Java
    res = JNI_CreateJavaVM(&jvm,(void **)&env,&vm_args);
    if (res < 0)
    fprintf(stderr, "Can't create Java VM: %d\n",(int)res);
              fprintf(traza, "Can't create Java VM RES: %d \n",(int)res);
              fflush(traza);
    exit(1);
         jvm_creada = 1;
    Is that right ?
    Thanks in advance. Ignasi Villagrasa.

  • HUGE file sizes when editing with Photoshop CS5

    Reluctantly I've set Photoshop CS5 up to process photographs for things like barrel distortion that my 18-200 Nikon seems especially prone to.
    I open any given photograph with apple-shift-O, make my changes and save. However, the copy that's then put back into Aperture 3 the file size comes out as anything between 30mb and 70mb per photograph - far too big.
    I've tried both TIFF 16-bit) and PNG (16-bit) options in Aperture which makes no difference. I've had a look through Photoshop CS5 options but can't see anything which looks correct.
    Thanks

    mjw_london wrote:
    I can only assume that it's like this because Aperture 3 only basically allows 2 options, to open in an external editor with either TIFF or PSD - both of which are undesirable because of their huge filesizes. Is there a way of making it open in an external editor with JPEG?
    Like jade said, it is not ridiculous. Ideally you would be shooting RAW not (lossy) JPEG to start, but even if you do shoot lossy JPEG you should convert to a lossless format like TIFF or PSD for the entire process of any editing. Large file sizes are a good thing not a bad thing because larger sizes represent more image data. And, hard drive capacity is cheap.
    Note that JPEG is a lossy compression algorithm, so when you open a JPEG in Aperture, Photoshop, whatever, the file is decompressed and becomes larger. You can again compress the file (such as back to JPEG) when done editing but be aware that each new compression by a lossy algorithm like JPEG loses image data and may also add undesirable visible artifacts.
    HTH
    -Allen

  • Reduce Java runtime size when bundled with application

    Hi all
    We are shipping in our company the JRE bundled with the client application in order to ensure the compatibility.
    But when upgrading from jre6 to jre8 the size increased by 50 MB!
    Is there a reliable and secure way to reduce the footprint of the JRE? Are there "light distributions" or a list of libs/files that can be safely removed?
    Thanks for your help
    Ralf

    Hello,
      I will direct you to the license. There are a couple sections that may apply to what you are trying to do.
    BCL For Java SE
    -Roger

  • Open console when i run java jar file

    greetings all
    i have a java program that i execute through JCreater. i want if i make its JAR file then its console should be open so that i could see thats printing when i use "System.out.println". is there anyway? right now when i double click my JAR file then nothing is displayed. how can i make that happen?

    thx flounder
    you see i need to see whats printing through my System.out.println() command. I am working on JCreater at the moment. when i execute my program an output window is opened, it displays whatever i have written in System.out.println. now i want to make an executable JAR of my program and also want to see my output window. is there any way to do that?

Maybe you are looking for

  • A function can not be used in Applet.what's wrong?

    Here is a function. private String LoadFile() { String input; String output="sssssdsdsddf"; try{ FileReader f=new FileReader("shu.txt"); BufferedReader in = new BufferedReader(f); while ((input = in.readLine())!= null){output=output+input;} in.close(

  • Showing prompt value in report - Need Urgent help

    Hi All, I have created a query that has a prompt (it is not the dashboard prompt) that has " in Between" operator. It is on date column. When i am generating report by passing the prompt value the data is coming properly. I have downloaded the report

  • Airport in Windows via Bootcamp

    I cannot seem to get a wireless connection to form when I am on the Windows XP pro service pack 2 side of my MacBook. I am not sure why it won't work, and I have tried reinstalling and repairing the bootcamp drivers but nothing seems to work. Anyone

  • Mac mini lost password

    is there any way to install a new password on a mac mini in order to update software? i have forgotten the password ! if not, how do i format the hard drive and start fresh? i have tried putting in the install disc number one and holding the "C" key

  • SCD's type 2 conflict with Oracle Dimension Object

    Hi everybody. I have a little problem understanding Oracle Dimension Objects and how to use it with SCD type 2. Oracle's documentation says: There must be a 1:n relationship between a parent and children. A parent can have one or more children, but a