Re: heap space and performace (what is going on??)

2000-01-05 Thread Michael E. Moores
thanks for the input nathan.. i work in one of the biggest linux shops in the world. java is definitely where i want to go; it is just a matter of when and with what.. our linux machines (usually just P2-400s running http://www.roxen.com, which now supports servlets) take millions of hits, downlo

Re: heap space and performace (what is going on??)

2000-01-05 Thread Nathan Meyers
"Michael E. Moores" wrote: > > i want to know that i can use the blackdown implementation > for serving a medium volume ecommerce site which is responsible > for millions of dollars of revenue. > so far, not so good. but i am not a senior java developer, > so some inputs would be very much appre

RE: heap space and performance

2000-01-05 Thread Ekkehard Kraemer
Hello Michael, MEM>i think the jvm/jdk has a big leak with one or more of the MEM>classes used. I'm running the Blackdown JDK (1.2-RC3, with sunwjit and native threads) here with very good results. I have only one (non-trivial) application running, and it doesn't show your problem. It uses socke

Re: Font Problems

2000-01-05 Thread Juergen Kreileder
> Cynthia Jeness writes: Cynthia> My only remaining comment is that the names of the java Cynthia> fonts in the "font.properties" file were changed from Cynthia> "zapf dingbats" to "dingbats" and from "symbol" to Cynthia> "standard symbols l". I changed the names back to avoi

Re: What determine the default locale?

2000-01-05 Thread Juergen Kreileder
> David Li writes: David> These two determines what the default locale will David> be. However GetPropertyAction is in sun.security.action. I David> have a simple program like this: David> import java.util.Locale; David> public class TestLocale David> { David>

RE: heap space and performance

2000-01-05 Thread Michael E. Moores
FYI i am using native threads. also, the garbage collection loop ONLY tells the system we would like to encourage a GC pass. i noticed that this DID make the program have less periodic slowness.. At 08:40 PM 1/5/00 -0200, Edson Carlos Ericksson Richter wrote: >For all: I'm doing a comparision b

RE: heap space and performance

2000-01-05 Thread Michael E. Moores
i just tried it on NT 4.0. i get the same results. my next step is to download the inprise/linux version from sun and see what that does. i bet i have similar trouble. can anyone else verify this problem with the provided code? i would like to see results from the 1.8 jdk.. --michael At 07:53

RE: heap space and performance

2000-01-05 Thread Edson Carlos Ericksson Richter
For all: I'm doing a comparision based on report from Michael E. Moores using the same program (see bellow) and anotating reports about memory usage (and, of course, stability). Michael reported a crash after 45000 loops in Linux JDK1.2.2 ("linux 2.2, blackdown 1.2 (glibc 1.2.1)"). My comparis

Re: Problem with JNI

2000-01-05 Thread Ekkehard Kraemer
Hallo Pierre, PHr>Does anybody know where is the error ? Did you specify a package for your java file? If you did, then you must call javah appropriately. MbG, Ekkehard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a sub

RE: heap space and performance

2000-01-05 Thread Edson Carlos Ericksson Richter
I'm sorry: cpu usage is not 100% because Java: 53% java, 47% Apache Server... Actual report: 86000 loops, 7128K ram + 5072K virt, rt.free()=2097144 Edson Richter -- From: Michael E. Moores Sent: quarta-feira, 5 de janeiro de 2000 17:40 To: Edson Carlos Ericksson Richter Cc:

RE: heap space and performance

2000-01-05 Thread Edson Carlos Ericksson Richter
Hi! To compare, I'm running the program with a infinite number of loops (trough a while loop) and the first report for my NT machine with JDK1.2.2 is (I have hotspot, but I've disabled to this test): start 7124K ram 5072K virtual mem. and free memory reports 2097144 15000 loops 7128

Re: Help JNI DestroyJavaVM

2000-01-05 Thread Cynthia Jeness
Remy, This is a known problem on all versions of Java. Here is the quote from the Java Series Book, "The Java Native Interface" by Sheng Liang: "Unfortunately, you cannot unload the Java virtual machine implementation in JDK release 1.1 or Java 2 SDK release 1.2. DestroyJavaVM always returns a

Re: ZDNet picks up the story

2000-01-05 Thread Cynthia Jeness
Chris Abbey wrote: > OK, I've now seen the rumor mentioned three times... can anyone point to > an IBM source of where this might be comming from? -=Chris > > p.s. Without trying to spread it, the rumor I'm refering to is the one > that IBM will be OSS'ing their Linux VM in the 1.3 time frame

Re: font.Properties message "dingbats not found"

2000-01-05 Thread Cynthia Jeness
Based on my experience, there are really several issues 1. You man not have a "dingbats" font. In which case, you can download the URW fonts and get the "Zapf Dingbats" font and install it on your system following directions that are appropriate for you Linux distribution and implementation. 2

RE: heap space and performance

2000-01-05 Thread Michael E. Moores
so you can also see the heap get used up with the win32 JDK? i don't see how the blackdown JDK can be used for programs that persist for long periods. i tried several versions of that code. i agree you will always get a performance benefit by NOT calling object contructors inside of a long runni

Re: Help JNI DestroyJavaVM

2000-01-05 Thread Mark Delafranier
I believe that Sun has not implemented the DestroyJavaVM(). In JDK 1.1 it was definitely not implemented and the method always returns -1. In JDK 1.2 the situation is still the same, the VM can not be Destroyed. Mark Remy Dupas <[EMAIL PROTECTED]> on 01/05/2000 02:25:30 PM To: [EMAIL PRO

RE: heap space and performace (what is going on??)

2000-01-05 Thread Michael E. Moores
Edson (& java-linx), this code below runs out of heap space even faster than my original program. sorry the code probably does not look good after being pasted into this email.. but the basic -->test<-- is to write some code which will 1) actually do something and 2) will run -->FOREVER<-- (well

Re: font.Properties message "dingbats not found"

2000-01-05 Thread Bob Love
[EMAIL PROTECTED] wrote: > > I have Slackware 7.0 and installed jdk-1_2_2-RC3-linux-i386.sh and > jdk-1_2_2-RC3-linux-i386.sh. When I start "java -jar Notepad.jar", I receive > the message from font.Properties that the dingbat font is not found. I have > font.Properties and font.Properties.tt.

Help JNI DestroyJavaVM

2000-01-05 Thread Remy Dupas
I use JDK 1.2 with RedHat 6.0 Linux 2.2.5-15 I invoke the Java Virtual Machine from a program C as described in the example of the tutorial At the end of this program, I call (*jvm)->DestroyJavaVM(jvm) but it returns -1. So it seems that the Java Virtual Machine has not been destroyed, and

Re: Problem with JNI

2000-01-05 Thread Pierre Héroux
I have fixed my problem. I forgot to include the Native.h file produced by javah which includes the extern "C". Pierre. Mark Delafranier wrote: > You will probably have to extern "C" the code in your C++ library. JNI uses C > calling conventions. > > Mark > > I hava a problem with JNI. > I use

Re: Problem with JNI

2000-01-05 Thread Mark Delafranier
You will probably have to extern "C" the code in your C++ library. JNI uses C calling conventions. Mark Pierre Héroux <[EMAIL PROTECTED]> on 01/05/2000 03:47:12 AM Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc:(bcc: Mark Delafranier/SYBASE) Subject: Problem with JNI

Re: Problem with JNI

2000-01-05 Thread Weiqi Gao
Pierre Héroux wrote: > > I hava a problem with JNI. > I use RedHat 6.1 and jdk1.2.2. > > The following code doesn't work > > public class Native { > static { > System.loadLibrary("Native"); > System.out.println("The Library is loaded..."); > } > > public Native() {} > > publ

font.Properties message "dingbats not found"

2000-01-05 Thread garya
I have Slackware 7.0 and installed jdk-1_2_2-RC3-linux-i386.sh and jdk-1_2_2-RC3-linux-i386.sh. When I start "java -jar Notepad.jar", I receive the message from font.Properties that the dingbat font is not found. I have font.Properties and font.Properties.tt. How do I fix this message? -

RE: heap space and performance

2000-01-05 Thread Edson Carlos Ericksson Richter
Heap consumption and performance are real problems in Java. But some great pratices in coding solve (or amenizes) the problem: 1) Don't repeat declaration of common used variables: 2) Create a thread in your main class taking a "forced garbage collection". See the following program, that I've r

Problem with JNI

2000-01-05 Thread Pierre Héroux
I hava a problem with JNI. I use RedHat 6.1 and jdk1.2.2. The following code doesn't work public class Native { static { System.loadLibrary("Native"); System.out.println("The Library is loaded..."); } public Native() {} public native void Hello(); public static void main(S

Re: What determine the default locale?

2000-01-05 Thread David Li
> OK. The reason I ask is to try to rule things out. The environment has > changed, the JDK hasn't, so maybe the environment needs more attention. > I suspect your answer lies in the C library and its I18N support, not in > the JDK. Have you tried other applications than the JDK, to see if their

Re: date problem

2000-01-05 Thread Gangmeng Ji
Hi all, After hours of hair tearing, I think I have found what went wrong. In one word, this is a problem of conflicting time zone standards between the one used by Linux and the one used by Java. I switched between different time zones (of different countries). I found that Michael Sinz (thank