@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3



Comments:

<0> java.lang.OutOfMemoryError: Java heap space
<0> what can i do, about it?
<1> increase the max memory
<1> Xmx=64m
<1> or make sure you don't create so many objects
<0> thats,im think its the problem,
<0> so i have to destroy the objeces
<0> so i have to destroy the objects,,
<1> you can't
<1> the carbage collector will take unreferenced objects of the heap
<1> so as long as you keep a reference to it they will stay in memory
<0> where i have to increase the max memory
<1> java -Xmx64m Bla
<0> yes,, but, it is a web application
<1> and?
<1> your webserver runs on the virtual machine



<0> sips
<1> so config the webserver
<1> catalina.bat for example when you use tomcat
<1> http://tomcat.apache.org/faq/memory.html#adjust
<0> rrr
<2> why does 3/2 + 2*2.5/2 = 3.5 and not 4??
<2> hah what was that for :P
<3> ziggz: you like christian musics?
<2> no
<3> round of 3.5 is 4
<3> inter multiplied, subtract, divide to double yields double
<4> ziggz: http://java.sun.com/docs/books/tutorial/java/nutsandbolts/arithmetic.html
<3> integer*
<2> Clackwell: read it before..
<4> ziggz: it should say that same as what javaq_ just said about data types.
<2> okay i know that it yields a double.. but if you do the math
<2> 2*2.5/2 = 5/2
<2> 5/2 + 3/2 = 8/2 = 4.0
<2> not 3.5
<3> mdas
<4> perhaps read the page again while paying attention to the data type bits.
<3> ziggz: use mdas
<4> maybe javaq_ got it wrong, i don't recally.
<3> if mdas u must use a ()
<2> i think i found out what's going
<3> (2*2.5)/2 = 4.0
<2> 3/2 + 2*2.5/2
<2> the 3/2 is an int/int = int
<2> so it doesn't = 1.5
<2> it = 1
<5> anyone ever had any luck using the JAI to create multi-page TIF's?
<6> alright.. I've got a file uploading script for my website, the final result, obviously, is that it saves the uploaded file to a directory.. now, I am trying to get the code to parse a command right before it saves to use gd to resize the image.
<6> $success = $my_uploader->save_file("/your/web/dir/fileupload_dir", int $mode); <-- this is under the if ($success) {
<5> looks like php to me
<6> yeah?
<6> it's a .cl***
<6> I ***umed java
<5> oh i didnt know you could do that, sorry my bad
<6> I'm losing my mind, and, I dont know **** about programming so I'm bull****ting my way through this
<5> well I know php a bit.. if($success) doesnt seem like a real conditional to me
<6> hrm
<5> don;t you have to suggest: if($success=<something>)
<6> I figured I could do a command before save_file
<6> no, I'd guess success is under something else
<6> if success
<6> if fail
<7> if I wanted to compile a javafile that used a jar file in linux, would the only thing I woul dhave to do is set the cl*** path then javac it? If so does anyone have any tutorials on setting cl*** paths?
<5> well $ means it's a variable, then a conditional has to check something.. so you'd have to use the syntax if($success == *whatever you want it to equal*)
<8> mcloud no need to set cl***path
<5> dont you have to use a -jar argument?
<5> ie. javac -jar <name>.java
<8> use the -cl***path or -cp cmd line switch to point to the jar file
<8> erod that's for run time, not compile
<7> calchas do I do it like so javac -cl***path <path to jar> <path to cl*** in jar>?
<7> i'm in linux (ubuntu)
<8> full path qualified name of jar
<8> see the api docs, under tools
<7> thanks !
<8> np



<7> LOL, no wonder your good
<9> hello
<9> someone have a good example using java + jasperreports + ireport, working with dynamic sql
<9> o_O
<10> some one have a good example using java + jasperreports + ireport, working with dynamic sql ??
<11> hello
<11> if you can read this message please answer, say hello eomer or something
<10> hello
<10> some one have a good example using java + jasperreports + ireport, working with dynamic sql ??
<10> ...
<10> someone can readme ??
<11> yeah i can
<10> lol
<11> jeje
<11> i don't know the answer to your question, sorry
<10> no hay nadie
<11> como que no hay nadie?
<10> q conteste jaja
<11> we are going to get kicked out if we continue speaking in spanish in the channel window
<10> why
<11> it's one of the rules i bealive, only english
<10> where says that
<10> lol
<11> one of the op once tolde me that i bealive
<10> :S
<11> and i think you are asking for a really complicated thing
<11> try to ask about it in the morning
<11> or...
<11> i don't kno
<11> around 5 or 6
<10> ill try, but i dont have mIRC in work loll
<11> oh......
<11> well, try asking again about it
<10> some one have a good example using java + jasperreports + ireport, working with dynamic sql ??
<11> hi again
<11> i know this is not the topic of the channel, but does somebody knows how to obtain the iso image form a cd?
<11> or a channel that covers that topic?
<12> anyone here familar with java reflection?
<13> high-b***: Not very, but more than I wish. It's unprettty to say the least
<12> well i got a question ...
<12> im kinda stuck on this issue
<12> withn my current cl*** i got a Instance of another cl*** (this other cl*** extends JPanel)... now im confused about is how can i make it so that i can execute this other cl*** that extends jpanel into my current cl***
<12> my current cl*** extends jframe
<14> hi all... I was wondering.... How can I check if an object A is of type B (like Delphi's if (A is B)) ??
<15> A instanceof B
<14> instanceof!
<14> thanks.
<16> But there are no valid reasons to use instanceof except when working with APIs that are designed around it.
<14> I know. I know what I'm doing... it is used only once, for I have created a specific API which replaces string comparison with objects comparison. And only 1 time I need to check that.
<14> After that, the hirerchy takes care of all my calls.
<14> [Sounds somewhat like military slang :) ]
<17> anybody whom i can talk to
<17> i want someone's guidance... pls
<17> in google talk
<17> itsabout
<17> OutOfMemoryError
<16> OutOfMemoryError is caused by trying to refer to too much memory at a time.
<16> If it's not obvious what's causing it, use a memory profiler, such as jmp.
<17> hmmmp..im a newbie rickety, could we have this discuss?
<16> Create a test case that demonstrates your problem, and post it to a pastebin.
<17> im manipulating images and i am calling the cl*** ImageReader which opens and reads an image data
<17> this image data stored in a buffer will be displayed by another cl*** in a textArea
<16> I can't run that, it's words.
<17> i havent got a copy of the code rickety
<17> aint using my pc
<16> Oops.
<18> how can I clone an object? say I have o test = new o(); o test2 = null; test2 = test; this will just make test2 a reference to test, right?
<16> Athox: variables refer to objects, not to other variables.
<16> Athox: test2 and test will both refer to the same object, the one created with new o();
<18> yes that's what i meant
<19> JSP and Servlets, is that a part of J2SE or J2EE ?
<18> how can i copy the test-object to have two equal, and separate ones?
<16> Athox: That depends on the objects.
<18> I ***ume making a clone()-function with return this; won't do it?


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #java
or
Go to some related logs:

./eggdrop: error while loading shared libraries: libtcl8.4.so: cannot open share
#chatzone
firebird london nikki
#AllNiteCafe
#networking
#MissKitten
#linux
Koxti
#asm
#java



Home  |  disclaimer  |  contact  |  submit quotes