Tagged: error Toggle Comment Threads | Keyboard Shortcuts

  • CG 7:21 pm on November 13, 2012 Permalink | Reply
    Tags: error, , java heap space   

    Resolving Java Heap Space Error 

    My previous code processed two tables with thousands of rows and had problem with Java Heap Space like shown below:

     

     

    To overcome this out of memory problem, we should increase the heap size by typing this on command prompt:

     

    And now it works:

     

    More useful links about Java heap space:

    1. http://javarevisited.blogspot.com/2011/09/javalangoutofmemoryerror-permgen-space.html
    2. http://javarevisited.blogspot.com/2011/05/java-heap-space-memory-size-jvm.html
    3. http://stackoverflow.com/questions/1565388/increase-heap-size-in-java
    4. http://javahowto.blogspot.com/2006/06/6-common-errors-in-setting-java-heap.html
    5. http://viralpatel.net/blogs/jvm-java-increase-heap-size-setting-heap-size-jvm-heap/
    6. http://www.devx.com/tips/Tip/5578
    7. http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r1m0/index.jsp?topic=%2Fcom.ibm.etools.mft.doc%2Fac55070_.htm
    8. http://www.ehow.com/how_5347474_set-java-heap-space.html
    Advertisements
     
  • CG 10:22 am on June 11, 2010 Permalink | Reply
    Tags: error, , , ,   

    with other clause error in quartus, why? 

    This simple multiplexer code in vhdl generates error:

    library IEEE;
    use IEEE.STD_LOGIC_1164.all;
    
    entity MuxCG is
      port (Sel: in std_logic_vector(0 to 1);
      A, B, C, D: in std_logic_vector(0 to 3);
      Y:  out std_logic_vector(0 to 3));
    end MuxCG;
    
    architecture MuxCGArch of MuxCG is
    begin
      Y <= A when Sel = "00" else
           B when Sel = "01" else
           C when Sel = "10" else
           D when others;
    end MuxCGArch;
    

    Error (10500): VHDL syntax error at MuxCG.vhd(15) near text “others”;  expecting “(“, or an identifier (“others” is a reserved keyword), or  unary operator

    Still cannot fix this.

     
    • Bobby 11:05 am on June 12, 2010 Permalink | Reply

      don’t ask me

    • bang 7:10 pm on November 1, 2013 Permalink | Reply

      have a solution??? I same problem .. i crazy
      response my email please

      • elis 8:55 pm on January 31, 2014 Permalink | Reply

        I had the same problem, I was using two single apostrophes instead of one double. They often look very similar in the type-fonts used in programming. Now for example: ” =/ ”.
        So DOUBLE quotation mark.

        • CG 12:25 pm on February 2, 2014 Permalink

          ok thx 🙂

  • CG 5:04 pm on April 23, 2010 Permalink | Reply
    Tags: error, ,   

    “problems in gcc” solved 

    After fussing about the compiler since yesterday and having nightmare last night about cannot finish the grad study before dec, apparently there’s nothing wrong with the compiler (hopefully). It’s only “typos”!

    Oh my! 😀 S**t happens. Especially during grad school 😀

     
    • Budi Rahardjo 5:21 am on April 24, 2010 Permalink | Reply

      grrrr …

      • Bobby 1:07 pm on April 24, 2010 Permalink | Reply

        paraaaah, makanya pakai editor yang rada bagusan, pake terminal mulu sih. ato settingan editornya pakai backgound yang warnanya jadi bikin mata ga cape walau koding lama banget.

        • CG 4:45 am on April 25, 2010 Permalink

          itu terlalu kontras ya untuk koding lama2x?

      • CG 4:44 am on April 25, 2010 Permalink | Reply

        @rahard: ampun 😀

        • Bobby 2:10 pm on April 26, 2010 Permalink

          @cg, sangat ga nyaman, mata akan lebih santai klo cahaya nya redup. coba aja pelototin lampu, ga enak kan.

c
Compose new post
j
Next post/Next comment
k
Previous post/Previous comment
r
Reply
e
Edit
o
Show/Hide comments
t
Go to top
l
Go to login
h
Show/Hide help
shift + esc
Cancel