Java and osX

in osX (or any os maybe), why do i run out of memory when it hits 15%? it goes up to about 76M of memory and then "outofmemory" error. is there a way in osX to up the allocated memory? so i can have gigs and gigs of memory? in os9 we coul say "take up a gig of memory" but not now.
also, is there a memory limit for osx's java? like it can only handle 100M in memory or so?

I believe that 1.5 is current. If you don't write os-specific code then you shouldn't have any problems.

Similar Messages

  • Illustrator CC2014 crashes at launch on Mac OS X Yosemite (10.10.1), I've updated Java and it still crash

    Hi!
    I need kelp, Illustrator CC2014 crashes at launch on Mac OS X Yosemite (10.10.1), I've updated Java and it still crash.
    Then I moved to a different carpet plugin files that look like this and didn't worked.

    I have no idea about the second part of your question but as for Java you need to install the Apple Java for OSX 2014-001. Look for it on the Apple site.

  • How do I reference a file using java on OSX?

    I'm new to both Java and development on OSX. I'm trying to run a console app that opens a file and copies it somewhere else. Yet my code errors out saying the file is not found. This is a sample of how I'm trying to reference the source file. What am I doing wrong?
    String wholeFilePath = "file:/users/user_name/srcfile.txt";

    You're welcome. Thanks for the dukes.
    Note also the convenience of the System property "user.home"
    String homeDir = System.getProperty("user.home"); This should be "/Users/user_name" on Mac OS X. But it will be different on Linux and Windows. I always like to avoid hard coding when I can.

  • Latest Java for OSX -- Up-To-Date? Where's new?

    I sure could use answers from you Gurus out there, or pointers to where I can get the straight poop. TIA.
    I use a non-Apple produced Chat application (gabbly) that I believe is written in Java. One day last month, this app suddenly lost its graphics. Some buttons became invisible, though their mouseovers were still visible, and if I wait till the mouseover shows up to show me I'm still on the invisible button, "it" will work. Other graphics work wrong, also.
    I use adblock in FF, but no joy if I turn it off.
    I cleared all FF cookies with "gabbly" in their names; no joy.
    In Safari, the app kinda works better -- graphics are there, but some buttons work wrong.
    Curiously, another Mac on the same LAN shows the app working fine under FireFox 1. (that rev UTD, OSX UTD) So it's probably some machine-dependent thingie...
    I'm not a developer, just a random end-user...
    MacOS 10.4.9 (Up-To-Date)
    FireFox 2.0.0.4 (UTD)
    Safari 2.0.4 (419.3) I believe this is UTD, I install all Apple updates to OSX...
    QuickTime Version 7.1.6
    Repair Disk Permissions on my startup disk (where all these apps live -- not done yet, necessitates starting from another disk, which I could do...
    The Java test at http://www.java.com/en/download/help/testvm.xml says that I'm "using an older version of Java technology" and that a new one, 1.5.0_07 from Apple, is available.
    HOWEVER! Under the Apple Operating System of that same display, is gives my current JRE version is 1.3.1 for OSX 10.2.7.
    So, how can it be possible that my 1.5.0_07 is an "older version" of Java, when the lower segment of the same URL's display offers me 1.3.1 ?
    And should I downgrade from 1.5.0_07 to 1.3.1 ? To me, it looks like Apple's version of Java is more advanced than the version now on offer from java.com...
    Or should I re-install the latest Java from Apple, which another string has pointed at, at http://www.apple.com/support/downloads/java2se50release1.html ? This is all so confusing...

    I agree, the Java version numbering could have been better implemented. Supposedly there is something called Java 2, which has been out for awhile that's included in it. Some people here might have a better answer for that:
    http://discussions.apple.com/forum.jspa?forumID=727
    I don't understand why the numbering system isn't clearer.
    Apple does have this page on Java which may be of some help:
    http://www.apple.com/macosx/features/java/
    And Wikipedia has this page:
    http://en.wikipedia.org/wiki/Java%28programminglanguage%29
    As you can see J2SE is actually numbered 1.1.4 through 1.6.
    You might also want to consider these chat alternatives:
    http://www.applechat.info/

  • Software Update Java for OSX 2012-2

    Just got this tonight when Apple offered it in a Software Update check.  I got the Java for OSX 2012-1 a couple of days ago.  I can't find any info on what changed.  Anyone else get an explanation?

    If you have Java installed on your system then I would highly recommend you keep it well up-to-date, and apply all the latest updates that are available for it. The latest Flashback malware threats have been using Java vulnerabilities to infect Mac systems with unpatched versions of Java.
    Do keep in mind that it is not very likely you will run across the malware, but there is a chance out there. It has been speculated to have infected ~600,000 systems, and at an estimate of ~150 million Mac systems worldwide that's about 0.004%, or 1 in every 250 systems. This total is just a guestimate on my part.

  • ABAP , JAVA And XSLT Mapping Doc's

    Hi,
    I am new to SAP XI Any body please send me the Doc's Related to ABAP, JAVA And XSLT Mappings. Thanks in Advance.
    Regards
    Kiran.B

    Hi
    Refer to
    ABAP mapping:
    How to Use ABAP Mapping in XI 3.0
    JAVA mapping:
    http://help.sap.com/saphelp_nw04/helpdata/en/bd/c91241c738f423e10000000a155106/frameset.htm (Java mapping)
    XSLT mapping:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/01a57f0b-0501-0010-3ca9-d2ea3bb983c1
    /people/prasadbabu.nemalikanti3/blog/2006/03/30/xpath-functions-in-xslt-mapping
    /people/sreekanth.babu2/blog/2005/01/05/design-time-value-mappings-in-xslt
    /people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping
    XSLT Mapping with java enhancement
    /people/pooja.pandey/blog/2005/06/27/xslt-mapping-with-java-enhancement-for-beginners
    XSLT - /people/dirk.roeckmann/blog/2006/07/26/grouping-xml-with-xslt--from-muenchian-method-to-xslt-20
    Regards,
    Kumar.
    Reward points if helpful!!

  • Problems with FCP 5.1.4 and OSX 10.4.9

    I upgraded to Tiger, installed the new FCP Studio and everything was working fantastic.
    The next morning there was a software update for Tiger and FCP-5.1.4, it's been a nightmare ever since. When I restarted FCP would not recognize my Sony HDR FX1.
    I had this problem once before with 4.5 and I fixed it by re-installing FCP and doing the upgrades, so that's what I did with 5 but this time there was a new problem. It wouldn't let me work on anything that I had opened since I did the software update, so I had to do the update again and then FCP wouldn't recognize my camcorder again on startup. If you pressed log and capture you could control the camera but no capture was possible.
    So I re-set the easy set-up and presto! everything was fine and I worked productively for a few days.
    But then I had to capture some SD from my Canon GL2 so I reset all the settings for DV NTSC and reset the easy set-up for DV NTSC but now FCP won't recognize my GL2 on start-up. If I click log and capture I can control the camera but no capture.
    My next try to solve my problem was to downgrade back to my original 10.4.6 and FCP 5.1
    That put be back to square one and everything works fine again except I am left with the problem that everything that I worked on after I did the update won't open, I get error 41.
    Now I know this is because I am now trying to work on these projects with 5.1 after they were worked on in 5.1.4. But the problem is that everytime I update to 5.1.4 I can no longer capture or print to tape.
    I tried the trashing the FCP prefs thing and the repairing permissions thing but I can't seem to solve the problem.
    Has anyone else had any problems using FCP 5.1.4 and OSX 10.4.9?

    Not sure how you tried to install 10.4.8 but if all
    else fails you can always reinstall the original
    operating system that came with your Mac using 'Erase
    and Install' then upgrade it to 10.4.8 - probably in
    stages.
    Erase and install should be used as a last resort! A better option is to use the "archive and install" feature. It renames your old system folder and creates a new one for the OS you just re-installed. That way you don't have to reinstall everything, your user accounts and emails should all still be there, and if something doesn't work, you have your old system folder to pull things like preference files out of.
    Eric

  • BI Java and BI ABAP -RSPLAN issue

    Hi All
    We are working with BI system ,using BI 7.0 Java and BI ABAP as separate systems on same host.
    Already run the template intaller for BI Java and ABAP integration.
    But facing some issue ,when going ot BI ABAP and RSPLAN and clicking the Start Mideller
    it is opening a browser as http://host:8000/sap/public/myssocntl?sap-client-XXX
    Since this is not correct and it should open BI Java portal instead of ABAP stack page.
    Instead this should open a Url like this http://host:5XX00/webdynpro/dispatcher/sap.com/biplanworkbench1/Modeler?
    I check on BI ABAP system under SAP Reference IMG -> SAP Customizing Implementation Guide-> SAP NetWeaver _> Business Intelligence-> BI Integrated Planning -> Settings for Starting the Planning Modeler.
    There the default Url is BEx Portal Server and the url is        
    http://host:5XX00/webdynpro/dispatcher/sap.com/biplanworkbench1/Modeler
    Can anybody let me know why this is going to ABAP server instead it should go to Java.
    Regards
    Ajay
    Edited by: Ajay Sandal on Mar 10, 2009 2:31 PM

    Hi Ajay ..
    Good news that ur issue is resolved ..
    I have somewhat similar issue .. Hopu u can put some light ..
    I have Bi 7.o with Add on java  ,
    In RSPLAN from ABAP system , modular page is not coming . if i click on start moduler button in RSPLAN ..portal page is coming up and i have to give logging details .
    Please suggest .
    Thanks

  • How to get return value from java and read by other application?

    i want to read return value from java and the other application read it.
    for example:
    public class test_return {
        test_return(){
        public int check(){
            return 1;
        public static void main(String args[]){
           new test_return().check();
    }from that class i make as jar file. How to read the return value (1) by other application?
    thx..

    If your installer is requiring some process it invokes to return a particular value on failure, then the installer is seriously broken. There are a bazillion commands your installer could invoke, and any of them could fail, which in turn could invalidate the entire install process, and any of them could return any value on failure. The only value that's consistent (in my experience) is that zero means success and non-zero means failure, with specific non-zero values being different in different programs.
    About the only control you have over the JVM's exit code is that if your main method completes without throwing an exception, the JVM will have an exit code of 0, and if main throws an exception (either explicitly or by not catching one thrown from below), it will be non-zero. I'm not even sure if that's guaranteed, but I would guess that's the case.
    EDIT: I'm kind of full of crap here. If you're writing the Java code, you can call System.exit(whatever). But nonetheless, if your installer requires certain exit codes from any app--java or otherwise--you have a problem.
    Edited by: jverd on Oct 29, 2009 1:27 AM

  • Problem with java and flex web service

    Hi,
    I have a basic web service written in java using jax ws 2.1
    ri. I need to call it from Flex using the WebService class
    Annotations for the java web method :
    @WebMethod
    public void Login(
    @WebParam(name="server") String serverURL,
    @WebParam(name=AUTHENTICATE_HEADER,header=true,mode=WebParam.Mode.INOUTHolder<Authenticate Header>
    authHeader)
    When I try and call the service from Flex , it can't find the
    login method and attempts to call it fail. If I set the web service
    to RPC based using @SOAPBinding , the method is found but then
    there are issues with the authentication header.
    What do I need to do to get flex web services communicating
    succesfully with java ?
    Are there are any known compatibility issues ? Or guidelines
    for going about this ?
    Any help would be appreciated

    well Shay,
    i've used JDev's tools to developer and to deploy the web service: the war and ear files are automatically generates you to the end of the process.
    I have included all the files java and the compiled classes, but I do not have files jar.
    But don't works: if i create only one java class with all code inside then it works fine!!
    Daniele

  • Problem with java and javaw

    Hi,
    In running the following simple code, I have gotten different results using java and javaw.
    public class Test {
    public Test() {
    public static void main(String[] args) {
    int x =4;
    System.out.println("The value is "+ ((x > 5)?6.0:4));
    System.out.println("The value is "+ ((false)?6.0:4));
    System.out.println("The value is "+ ((true)?99:9.9));
    Using java, I get the following results:
    The value is 4.0
    The value is 4.0
    The value is 99.0
    But using javaw, I get the following results:
    The value is 4.0
    The value is 4
    The value is 99
    Any ideas why this is so?
    Thanks for any help.
    Gilbert

    I used JBuilder to run the following code and Jbuilder uses javaw.
    By the way, the correct answer is the one using java right?

  • Problem with Java and Zip Files

    Hello there everyone. I have a problem with trying to zip up directories with empty folders in them. They zip fine with my code, but according to winzip, the number of files in the archive is incorrect. It's supposed to have a total of 288 files in it, but when it's zipped up, it only says 284. I mention specifically the "empty directories" note because the zipping works fine without empty folders.
    Below is the code for the zip method:
    public static void zip(File[] list, File zipfile, File zipRoot)
         throws IOException {
          if (!zipfile.exists()) {
                   zipfile.createNewFile();
              else if (!zipfile.isFile()) {
                   throw new IOException("The zip file, " + zipfile.getAbsolutePath()
                             + " is not a file.");
              if (list.length == 0) {
                  LOG.error("The list of files to zip up is empty.");
              for (int i = 0; i < list.length; i++) {
                   if (!list.exists()) {
                        throw new IOException("The file or directory, " + list[i].getAbsolutePath()
                                  + " does not exist.");
              FileOutputStream fos = new FileOutputStream(zipfile);
              ZipOutputStream zos = new ZipOutputStream(fos);
              for (int i = 0; i < list.length; i++) {
                   if (LOG.isDebugEnabled())
                        LOG.debug(i + ": " + list[i].getName());
                   String entryName = getRelativeName(list[i], zipRoot);
                   if (list[i].isDirectory()){
                        if (list[i].listFiles().length == 0){
                             ZipEntry entry = new ZipEntry(entryName + "/");
                             zos.putNextEntry(entry);
                   else {
                        ZipEntry ze = new ZipEntry(entryName);
                        zos.putNextEntry(ze);
                        byte[] buffer = new byte[8096];
                        FileInputStream fis = new FileInputStream(list[i]);
                        int read = 0;
                        read = fis.read(buffer);
                        if (LOG.isDebugEnabled())
                        LOG.debug("\tFound " + read + " bytes.");
                        if (read == -1){
                             //empty file, but add it for preservation.
                             //zos.write(buffer,0,0);
                        while (read != -1) {
                             zos.write(buffer, 0, read);
                             read = fis.read(buffer);
                        fis.close();
                        zos.closeEntry();
              zos.close();
    The files look like they're there, but I need the system to be able to determine the number correctly. 
    Here's the interesting thing:  It zips the files, and then when I use the size() method for zip files in java, it says 284 files.  But when I unzip, it says 288 again.  It's like there's files missing when compressed, but when decompressed, they return.  Note that the files are actually there.  If I open the archive in a third party app such as Winzip AND Winrar AND IZarc, they all show 288 files.  Any idea what would make the number of files appear incorrectly in a zip file when zipped by java with the code above?  Thanks in advance.
    - Chris                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    I figured out the problem. When zipping files in windows using winzip, it doesn't explicitly count folders as a "file/folder" as a file in itself. It will create the folders for files to go in, but the folder itself will not be 'counted' when you query the info of the file itself. You have more control of the zip file in java, and can count the folder as a file or not.

  • Problem with java and pogo games

    i use mozilla and now with the problems with java and hackers cannot play my pogo games,what can i do? i disabled my java i tried java 6 doesnt work or is not safe,what is a safe way to play games on pogo that use java?

    Oracle has released a Java 7 Update 11 to address security vulnerabilities and you should update to that version.
    *https://support.mozilla.org/kb/how-to-use-java-if-its-been-blocked
    See also:
    *http://kb.mozillazine.org/Java#Windows_installation_issues
    You can find the latest Java version on the Oracle website.
    See Java Platform > Java SE 7U11 and Java 6U38 (Download JRE)
    *http://www.oracle.com/technetwork/java/javase/downloads/index.html

  • Compability problem with Java and Python  RSA algorithm implementation

    I have client server application. Server is writtein in python, client in java. Client receives messages from server encrypted with RSA (http://stuvel.eu/rsa), and I'm unable to decrypt it. It seems that this is RSA algorithm compatibility problem. I'm using algorithm from java.security package, instatinating Cipher object like this: c = Cipher.getInstance("RSA"); . I noticed that this algorithm produces for input blocks of lengtrh <=117 ouput block of length 128. Server I guess uses the most triviall impelentation of RSA ( (1 byte is encrypted to 1 byte) So i want to make my java algorithm compatibile with this one which server uses. How to do that ? Do i have to instatinate Cipher object in different way ? Or use another library ?

    azedor wrote:
    First you said it was no good because it could only handle <= 117 byte inputs, now you say it is no good because it produces a 128-byte output. You're not making sense.First i said that this two RSA implementations are not compatibile, and first reason i noticed firstly is that Python imlementation for input of length N produces cryptogram of the same length. Not true. In general, the RSA encryption of any number of bytes less than the length of the modulus will produce a result of length near that of the modulus. When N is less than the length of the modulus, it is rare that N bytes of cleartext produces N bytes of ciphertext.
    Java implementation for data block of length <=117 produces alwasy 128 bytes of output.Pretty much correct and very much desirable. This is primarily a function of the PKCS1 padding which is used to solve two basic problems. First, as I alluded to in my first response, it is the nature of the algorithm that leading zeros are not preserved and second when the cleartext is very small (a few bytes) the exponentiation does not roll over and it is easy to decrypt the result. Both these problems are addressed by PKCS1 padding.
    >
    >
    After what sabre150 said i think of giving up idea of translating Python code to Java and considering to use another assymetric cryptography algorithms on both sides. Can you recommend me sth what should be compatibile with Python ?This seems to be at odds with your statement in reply #3 "Also have acces only to client code so i have to change sth in java." ! This statement is why I said "I suspect ... you have dug a deep hole".
    In your position I would use the Python bindings for openssl. Once more, Google is your friend.

  • Events problem with (Java and ActiveX)

    Hi,
    I use an ActiveX component with Java and i've got a problem with events.
    Java classes were generated with Bridge2Java (IBM).
    In order to manage events I added a listener in my application :
         javaMyActiveX = new MyActiveX();
         javaMyActiveX.add_DMyActiveXEventsListener(new _DMyActiveXEventsAdapter());
    I also added a constructor in the _DMyActiveXEventsAdapter class and I fill the body of methods.
    The ActiveX generates two types of events :
    - The ones are directly generated by methods.
    - The others are generated by a thread.
    With MS Products (VB, Visual C++, Visual J++), I catch all events.
    With java (jdk 1.4), I catch only events generated by methods.
    Can anyone help me.

    I'm not 100% sure, but the last time I used that bridge, it only worked if you ran your Java app within a Microsoft VM.

Maybe you are looking for