Strange Output of Thread

Hi Friends
I am getting very strange out put of the following code
Plz explain!!!!!!!
class BasicBlob {                                     // (1)
    static    int idCounter;
    static    int population;
    protected int blobId;
    BasicBlob() {
        blobId = idCounter++;
        ++population;
    protected void finalize() throws Throwable {      // (2)
        --population;
        super.finalize();
class Blob extends BasicBlob {                        // (3)
    int[] fat;
    Blob(int bloatedness) {                           // (4)
        fat = new int[bloatedness];
        System.out.println(blobId + ": Hello");
    protected void finalize() throws Throwable {      // (5)
        System.out.println(blobId + ": Bye");
        super.finalize();
public class Finalizers {
   public static void main(String[] args) {          // (6)
        int blobsRequired, blobSize;
        try {
            blobsRequired = Integer.parseInt(args[0]);
            blobSize      = Integer.parseInt(args[1]);
        } catch(IndexOutOfBoundsException e) {
            System.err.println(
                "Usage: Finalizers <number of blobs> <blob size>");
            return;
        for (int i=0; i<=blobsRequired; ++i) {         // (7)
            new Blob(blobSize);
        System.out.println(BasicBlob.population + " blobs alive"); // (8)
   When I give the i/p 5 500000
O/P is--------------------------
0: Hello
0: Bye
1: Hello
1: Bye
2: Hello
2: Bye
3: Hello
3: Bye
4: Hello ////////// Why not Bye again as above 1 blobs alive
1 blobs alive

This has to do with whether Garbage Collector is collecting your unreferenced objects or not. In this case you are specifying a size of 500000, which from ur code is size of an array of integers (each 4 byte). so a single allocation of array corresponds to roughly 500000*4 bytes. On this size jvm heap will run out of memory for even 2 such objects and hence when it goes to create second object GC runs and your previous object is GC'ed. But for last object created this is not the case.
U can try changing 500000 with a lesser value, say 500. All of your blobs will remain alive (if unfortunately they are not gc'ed :)).

Similar Messages

  • Help Tomcat + Apache = strange output

    my jsp website works fine under tomcat 3.2.3, when i try to use apache 1.3 as web server, everything seems ok except that some jsps generate strange output. such as:
    HTTP/1.1 200 Date: Wed, 13 Mar 2002 09:09:02 GMT Server: Apache/1.3.23 (Win32) mod_jk/1.1.0 Keep-Alive: timeout=15, max=98 Connection: Keep-Alive Transfer-Encoding: chunked Content-Type: text/html; charset=GB2312
    the http header is displayed instead of web contents. does anyone know what is the problem? by the way, the jsp uses response.sendRedirect.
    any comments is welcome, thanks in advance.

    my jsp website works fine under tomcat 3.2.3, when i
    try to use apache 1.3 as web server, everything seems
    ok except that some jsps generate strange output.
    The http header is displayed instead of web contents.
    does anyone know what is the problem? by the way, the
    jsp uses response.sendRedirect.
    any comments is welcome, thanks in advance.Hi,
    I am doing some tests on the Dwarf Server Framework (http://www.gnome.sk). A HTTP server with a servlet container is part of it too.
    I wanted to know if something that does not work under tomcat 3.2.3 would work on DWARF.
    By the way, did the good jsps use the response.sendRedirect too?
    Could you please send me a jsp page which generates the strange output?
    Thanks,
    Erika

  • Thread program: Strange output

    Hi,
    I have written a simple thread program. Previously I was trying to print hello world in the run method, the I changed it to print the value of a static data member, but strangely its still printing hello World. However if I change the print statement in the main method, it is reflected in the output but the changes to the print statement are not. Its always hello World output. I have changed the name of file, recompile it, close the shell window, restarted the computer but always the output is hello world. Can somebody help me with that. My objetive is to prove that data segment is shred in threads.
    public class Share2 extends Thread{
    static int Data=10;
       public void run ( ) {
        Data=Data+10;
         System.out.println("Data="+Data);
      public static void main (String[ ] args ) {
        First obj=new First ( );
        obj.start ( );
        System.out.println("Data ^^^^in!!! 9999main****="+Data);
    }D:\javaprogs\misc\threads>javac Share2.java
    D:\javaprogs\misc\threads>java Share2
    Data ^^^^in!!! 9999main****=10
    Hello World
    D:\javaprogs\misc\threads>javac Share2.java
    D:\javaprogs\misc\threads>java Share2
    Data ^^^^in!!! 9999main****=10
    Hello World
    D:\javaprogs\misc\threads>
    Zulfi.

    public class Share2 extends Thread{
    static int Data=10;
    public void run ( ) {
    Data=Data+10;
    System.out.println("Data="+Data);
    public static void main (String[ ] args ) {
    First obj=new First ( );<<<<< what is First? >>>>>>
    obj.start ( );
    System.out.println("Data ^^^^in!!!
    n!!! 9999main****="+Data);
    D:\javaprogs\misc\threads>javac Share2.java
    D:\javaprogs\misc\threads>java Share2
    Data ^^^^in!!! 9999main****=10
    Hello World
    D:\javaprogs\misc\threads>javac Share2.java
    D:\javaprogs\misc\threads>java Share2
    Data ^^^^in!!! 9999main****=10
    Hello World
    D:\javaprogs\misc\threads>
    Zulfi.

  • A strange behaviour throwing Threads via anonymous class technique

    Hi friends!
    I've noted a strange behaviour executing the next code:
    public class ResolAnonimes
         private int value;
         public ResolAnonimes(int value)
              this.value = value;
         public ResolAnonimes myMethod(int nThreads)
              final ResolAnonimes a = this;
              int nThreadsFor = nThreads - 1;
              for( int i=0; i < nThreadsFor; i++)
                   new Thread(){
                        public void run()
                                System.out.println(Thread.currentThread().getName() + " has begun processing");
                                     doSomethingWith(a);
                                System.out.println(Thread.currentThread().getName() + " has finished processing");
                   }.start();
                   this.value++;
              }//for loop
              return a;
         public static void doSomethingWith(ResolAnonimes a)
              System.out.println(a.value);
         public static void main(String Args[])
              ResolAnonimes first = new ResolAnonimes(1);
              ResolAnonimes result = first.myMethod(5);
    }When I execute it, that's the output I get:
    Thread-0 has begun processing
    2
    Thread-0 has finished processing
    Thread-0 has begun processing
    3
    Thread-0 has finished processing
    Thread-0 has begun processing
    4
    Thread-0 has finished processing
    Thread-0 has begun processing
    5
    Thread-0 has finished processingWhere's the "1" printed? It doesn't appear! It seems it has thrown only 4 threads, not 5.
    Am I doing anything wrong? Is it a bug?
    Can you help me, please?
    Thank you in advance.

    Oh I'm sorry. I was changing the code because of privacy rerasons and I finally didn't type what I want.
    Consider an array which all cells must be typed with the array lentgh. Moreover, the work is distributed by some threads.
    I'm refering to something like this:
    import java.util.Random;
    import java.util.LinkedList;
    public class MyArray
         private static int initialRow = 0;
         private static int lastRow = 0;
         private int[] vector;
         public MyArray(int size)
              vector = new int[size];
         public static boolean correctIndex(MyArray a )
              for(int i = 0; i< a.vector.length; i++)
                   if(a.vector[i] != a.vector.length)
                        return false;
              return true;
         public String toString()
              String s ="";
              for(int i=0; i < this.vector.length; i++)
                   s += this.vector[i] + " ";
              return s;
         public MyArray  operationWith(int nThreads)
              MyArray a = this;
              MyArray result = null;
              final Contenidor ctros = new Contenidor(new LinkedList());
              result = a.putTheIndexValue(nThreads, ctros);
              Thread consumerThread = new Thread( new Consumer( ctros, nThreads));
              consumerThread.start();
              try
                   consumerThread.join();
              catch(InterruptedException ie){}
              return result;
         public MyArray putTheIndexValue(int nThreads, Contenidor ctros) //Este metode encara es experimental
              final MyArray a = this;
              final MyArray result = new MyArray( a.vector.length);
              final Contenidor ctrosR = ctros;
              for(int i = 0; i < result.vector.length; i++)
                        result.vector= 0;
              int incRows = a.vector.length / nThreads - 1;
              initialRow = 0;
              lastRow= incRows;
              int nFilsFor = nThreads - 1;
              Thread[] vectorFils = new Thread[nThreads];
              for( int i=0; i < nFilsFor; i++)
                   /*vectorFils[i] = */ new Thread()
                                                 public void run()
                                                      System.out.println(Thread.currentThread().getName() + " has begun processing");
                                                      MyArray.putTheIndexValue( a, initialRow, lastRow);
                                                      System.out.println(Thread.currentThread().getName() + " has finished processing");
                                                      String s = Thread.currentThread().getName();
                                                      ctrosR.put(s);                         
                   vectorFils[i]*/.start();
                   initialRow = initialRow + 1;
                   lastRow = initialRow + incRows;
              new Thread()
                   public void run()
                        System.out.println(Thread.currentThread().getName() + " has begun processing");
                        MyArray.putTheIndexValue( a, initialRow, a.vector.length - 1);
                        System.out.println(Thread.currentThread().getName() + " has finished processing");
                        String s = Thread.currentThread().getName();
                        ctrosR.put(s);                         
                   vectorFils[i]*/.start();
              return result;
         public static void putTheIndexValue( MyArray a, int initialRow, int lastRow)
              for(int i = initialRow; i <= lastRow; i++)
                   a.vector[i] = a.vector.length;
    public class Interface
         public static void main(String Args[])
              int nThreads = 2;
              int arraySize = 5;
              MyArray ma = new MyArray(arraySize);
              MyArray result = ma.operationWith(nThreads);
              if(MyArray.correctIndex(result))
                   System.out.println("The operation has been done correctly");
              else
                   System.out.println("THE OPERATION HAS NOT BEEN CORRECTLY!");
              System.out.println(ma.toString());
    public class Consumer implements Runnable
         private Contenidor ctros;
         private int nFils;
         public Consumer(Contenidor ctros, int nFils)
              this.ctros = ctros;
              this.nFils = nFils;
         public void run()
              System.out.println(Thread.currentThread().getName() + "is waiting the total process to be finished");
              for(int i = 0; i< nFils; i++)
                      System.out.println( Thread.currentThread() + " is waiting a thread to give me its chunk");
                      String s = ctros.get();
                      System.out.println( Thread.currentThread() + ":  " + s + " has already given me its chunk");
                 System.out.println(Thread.currentThread().getName() + "says all threads have finished");
    import java.util.Queue;
    import java.util.LinkedList;
    public class Contenidor
        private int nDadesNoves;
        private Queue contenidor;
        public Contenidor(Queue contenidor)
            this.contenidor = contenidor;
            this.nDadesNoves = 0;
        public synchronized String get()
            while(nDadesNoves < 1)
                try
                    wait();
                catch(InterruptedException ie){}
            nDadesNoves--;
            notifyAll();
            return (String)contenidor.poll();
        public synchronized void put(String s)
            contenidor.offer(s);
            nDadesNoves++;
            notifyAll();
    }The output I get sometimes is:
    THE OPERATION HAS NOT BEEN CORRECTLY!
    5 5 5 5 5And I get also sometimes that:
    THE OPERATION HAS NOT BEEN CORRECTLY!
    0 5 5 5 5That's what I wanted to refer last post. I think I'm doing a correct synchronization. Am I wrong?
    I don't understand that behaviour.
    Anyone can help me, please?
    Thank you in advance.

  • Strange Output From CS3 to Fiery printers

    When we output from Indesign CS3 we get a couple of strange issues to our fiery and one new issue just started with our Harlequin RIP.
    When printing a multi page document to the Fiery's (5 Different ones) sometimes page 1 will be oriented correctly and all of the other pages will be rotated on the sheet and cut off. Also when I go to make changes through command workstation to change duplex settings, image shift etc. It's a crapshoot if it will work on Indesign files. This has been happening with all iterations of Leopard.
    When printing to the Harlequin using a preset envelope template the file is oriented wrong. It doesn't matter if we put the sizes in manually or how we set the orientation in the print window it's wrong. This has been happening for a few weeks.
    Curretly we are on 10.5.5

    Sorry I wasn't clear. The rips are the print servers. They are hooked to a variety of printers Xerox, Konica, Canon and Presstek. The problem is when I send the file and preview it at the RIP. The problems are also there when I output the files from the Rip to the printers.
    The Fiery Problem is ocuring on several different Fiery RIPS each connected to it's own printer. We only have on Harlequin RIP and Device so I'm not sure how widespread it is. The problems do not exist if I send PDF's or other native files such as quark.

  • Is it normal?(NetworkManager applet's strange output & 3 IPv6 address)

    1) label ppp0 appears in NetworkManager applet every time when I up vpn-connection
    2) Also something strange with enp5s0. Output of "ip addr":
    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
        link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
        inet 127.0.0.1/8 scope host lo
           valid_lft forever preferred_lft forever
        inet6 ::1/128 scope host
           valid_lft forever preferred_lft forever
    2: enp5s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
        link/ether 10:bf:48:20:61:a4 brd ff:ff:ff:ff:ff:ff
        inet 10.0.122.144/8 brd 10.255.255.255 scope global dynamic enp5s0
           valid_lft 9283sec preferred_lft 9283sec
        inet6 2002:5be2:8e63:b:12bf:48ff:fe20:61a4/64 scope global noprefixroute dynamic
           valid_lft 2592003sec preferred_lft 604803sec
        inet6 fec0::b:12bf:48ff:fe20:61a4/64 scope site noprefixroute dynamic
           valid_lft 2592003sec preferred_lft 604803sec
        inet6 fe80::12bf:48ff:fe20:61a4/64 scope link
           valid_lft forever preferred_lft forever
    3: wlp3s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
        link/ether 00:08:ca:67:17:e9 brd ff:ff:ff:ff:ff:ff
    9: ppp0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1400 qdisc pfifo_fast state UNKNOWN group default qlen 3
        link/ppp
        inet 91.226.141.81 peer 1.1.1.1/32 scope global ppp0
           valid_lft forever preferred_lft forever
        inet 91.226.141.81/32 brd 91.226.141.81 scope global ppp0
           valid_lft forever preferred_lft forever
    Is it normal that this interface has three IPv6 addresses?

    Hi,
    We are hitting the software bug and the bug ID is CSCsz56711
    http://tools.cisco.com/Support/BugToolKit/search/getBugDetails.do?method=fetchBugDetails&bugId=CSCsz56711
    The issue is related to PCI componenet on the AP hardware and log that points to that is..
    bsnInitRcbSlot: slot 0 has venus radio(UNSUPPORT)
    The Replacement is the resolution and please contact your reseller or partner and if ur are the partner then RMA ids the resolution..
    Lemme know if this answered ur question and please dont forget to rate the usefull posts!!
    Regards
    Surendra

  • Strange Output issue of Procedure

    Hi,
    I have a Procedure with Two Out parameter of table type. I am using DB Adapter to fetch these two out parameter. One out is for Header rows and other out is for detail rows. The strange thing is that when I test this composite using SOA server i only get data from header table but no data from detail table. My Procedure is fine when i run in SQL developer. It gives data for both tables. One another thing that i already created same composite for two other master and detail tables and that is working really fine. I tried every trick but could not get any success in this composite. Kindly help me to point out any error.
    Thanks a lot
    Nasir

    Thanks Vijay for respond..
    I am not using any transformation or Mapping. I configured a DB Adapter first. Then make a BPEL Process having input and output according to DB Adapter XSD file. then i just invoked and copied the output of procedure to output of payload.
    Thanks
    Nasir

  • Strange output generated after pasting some text into a reply

    Posted the following answer just now :
    http://social.technet.microsoft.com/Forums/en-US/a476247a-47ea-4545-ba26-2ba89595bba3/cannot-create-password-after-installation-windows-server-2012?forum=virtualserver
    in which I pasted a chunk of text from the TechNet article I was directing someone to. Looks like something within that text has mangled the output as it's misformed (notice a line above the pasted text which wasn't there when I wrote the message), and I
    now can't click the edit option to try to change / correct it, or even delete it to try again.

    I submitted a request to fix the thread and submitted a bug request.
    Thanks!
    Ed Price, Power BI & SQL Server Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • Strange output of the PID module

    Dear all, 
    I meet a problem when using the PID module. I am only set P and use the PID as a linear gain. I found in some of my VIs , the output of the PID module is the opposite value, while in other VIs, the output is normal. In these case, I used to set the linearity of the PID as -1. Even though the VI can run normally in this way, I want to figure out what shall be the wrong about the PID module. Could you help me explain about the strange behavior about the PID module?
    Please see the attached file, I add some probes like 24 and 25 to show the values that represent this problem.
    Thanks
    best
    Attachments:
    PID module opposite output.png ‏193 KB

    Your set point is set to zero, your process variable appears to be 8.181 i.e. too high and error (SP-PV) is negative, so the output of your controller should be negative (-8.181 x Kp). The controller output is clamped to be between 0.5 and -0.5, and it is -0.5V, which is what you would expect if your Kp is the 0.1 one (I can't see which set of gains it is).
    So it appears to be correct ?
    Note: linearity should be between 0 and 1 (read the manual). Keep this set to 1 until you know things are working and only change if you need nonlinearity with error.
    Consultant Control Engineer
    www-isc-ltd.com

  • Application freezing and recovering & Strange behaviour in Thread Dump & GC

    Hi All,
    I am facing a problem in my SWINGS application. The application is a real time data streaming application its working in TCP/IP sockets, which is reading and writing data in string format. I noticed that the data streaming getting freeze sometimes and it recovers after a few minutes. To find out why it is behaving like that i took the Thread Dump and Garbage Collection Trace of the application and found some thing strange. Find below the line taken from the Thread Dump, the third line in the log below shows that the time have jumped backwards, I don't know why that happened.
    2009-03-12 17:07:48
    Full thread dump Java HotSpot(TM) Client VM (1.6.0-b105 mixed mode, sharing):
    2009-03-12 17:07:57
    Full thread dump Java HotSpot(TM) Client VM (1.6.0-b105 mixed mode, sharing):
    *2009-03-12 17:04:08*
    Full thread dump Java HotSpot(TM) Client VM (1.6.0-b105 mixed mode, sharing):
    2009-03-12 17:04:15
    Full thread dump Java HotSpot(TM) Client VM (1.6.0-b105 mixed mode, sharing):
    2009-03-12 17:04:28
    Full thread dump Java HotSpot(TM) Client VM (1.6.0-b105 mixed mode, sharing):
    Almost during the same time in Garbage Collector log, normally the garbage collector was running multiple times a second and during that time the frequency of garbage collection reduced. please find the details below
    3682.686: [GC 28265K->25644K(41312K), 0.0009666 secs]
    3682.731: [GC 28268K->25645K(41312K), 0.0009825 secs]
    3682.817: [GC 28269K->25647K(41312K), 0.0010381 secs]
    3682.934: [GC 28271K->25649K(41312K), 0.0009364 secs]
    3682.943: [GC 28273K->25649K(41312K), 0.0008954 secs]
    3682.985: [GC 28273K->25650K(41312K), 0.0008845 secs]
    3683.037: [GC 28274K->25651K(41312K), 0.0008747 secs]
    3683.199: [GC 28275K->25651K(41312K), 0.0010448 secs]
    *3698.250: [GC 28275K->25728K(41312K), 0.0009655 secs]*
    *3720.655: [GC 28352K->25867K(41312K), 0.0010588 secs]*
    *3743.011: [GC 28491K->26000K(41312K), 0.0015047 secs]*
    *3765.935: [GC 28624K->26130K(41312K), 0.0010180 secs]*
    *3788.487: [GC 28754K->26260K(41312K), 0.0011328 secs]*
    *3810.348: [GC 28884K->26402K(41312K), 0.0010091 secs]*
    *3832.596: [GC 29026K->26523K(41312K), 0.0010373 secs]*
    *3855.048: [GC 29147K->26652K(41312K), 0.0010029 secs]*
    *3877.230: [GC 29276K->26795K(41312K), 0.0010387 secs]*
    *3899.420: [GC 29419K->26915K(41312K), 0.0009959 secs]*
    3922.146: [GC 29539K->27042K(41312K), 0.0010088 secs]
    3922.201: [GC 29666K->27043K(41312K), 0.0010297 secs]
    3922.231: [GC 29667K->27046K(41312K), 0.0008521 secs]
    3922.260: [GC 29670K->27048K(41312K), 0.0009208 secs]
    3922.269: [GC 29672K->27048K(41312K), 0.0009831 secs]
    3922.298: [GC 29672K->27049K(41312K), 0.0008867 secs]
    3922.308: [GC 29673K->27050K(41312K), 0.0009264 secs]
    can any one please explain whats happening, I am getting no clue from these
    Thanks in Advance
    Rajin Das
    Edited by: rajindas on Mar 16, 2009 6:40 PM

    Have you used any profilers to analyze the logs? It is very difficult to read it just like that.
    I use IBM Monitoring and Diagnostic Tools for Java™. I think it does support Sun and IBM JVMs. Try out and let me know how it goes.

  • Strange output??

    Hello,
    I am using the SAX parser to parse a xml file which can be downloaded from the http://archive.godatabase.org/latest-termdb/go_daily-termdb.obo-xml.gz.
    The file is a gene ontology. My problem is that from the 25000 terms described in this file, the parser can not read the id node of 100 of these terms correctly. The output should be like
    GO:0000142
    while it reads it as
    GO:00001
    42
    as a result what I have as the terms id is 42 . As I said this only occurs randomly in 100 terms from the 25000 terms. The characters function doesn't do anything at all
    public void characters(char[] ch, int start, int length) throws SAXException {
              tempVal = new String(ch,start,length);
         }just reads the values. Any ideas??
    ehsan

    Thanks for letting me know what was wrong. The thing is that it's so easy to fix too. just use a stringbuffer instead of the string . so the character method will look like this.
    public void characters(char[] ch, int start, int length) throws SAXException {
                    sBuff.append(ch,start,length);                
         }And tou can reset the stringBuffer at the startElement method
    public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException {
                   //reset the stringBuffer
                sBuff.setLength(0);     
                         }    Thanks again
    Ehsan

  • Strange output for one Vendor

    Hello to all,
    An end user has print a purchase order and there is some abnormal things on the output like payment terms conditions begin in the middle of the line but this problem is appearing only for a vendor, for all other vendors there is no problems.
    Where can we have specifications for the output of purchase order related to the vendor itself.
    Thanks in advance.
    Best regards.
    Zied.

    Hi,
    Check the output determination for the below partner functions in Vendor Master.
    OA - Ordering Address
    SP - Supplying Party
    IP  - Invoicing Party
    VN - Vendor
    Also check the NACE t-code for the Vendor / Plant / Company Code combinations for the EF (Purchase Order)
    Regards,
    Mohd Ali.

  • Workflow Condition giving strange output

    Hello Experts,
    I am getting an strange issue in my workflow.
    Here is the condition in the workflow -
    &SWITCHDOC.SERVICEPROVIDERNEW.SERVICEPROVIDER& NE "space"  AND
    &SWITCHDOC.TARGETSUPPLYSCENARIO.VERSORGUNGSSZENARIO& NE "space"
    still i get the result false even if both the filed is filled in the container
    Can any one suggest me somthing on this issue?
    Thanks in Advance,
    Pritam

    Hi Pritam,
    whats the data type of your two parameters?
    Please check is there any default values and if it is type 'NUMC' means it has 0000 by default.
    So it can also made the conflict.
    Thanks,
    Vijay.

  • Strange output.. Suggestions?

    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    PL/SQL Release 11.2.0.3.0 - Production
    CORE     11.2.0.3.0     Production
    TNS for Solaris: Version 11.2.0.3.0 - Production
    NLSRTL Version 11.2.0.3.0 - Production
    I have a user that is seeing this kind of out put out of no where.
    Start Time: 0
    FS_PUBLIC_READ04222013021758PM
    Starting Load...
    * VERIFY VERSION COMPATABILITY *
    Verify Version Time: 0
    * LOCATE SETTING SOURCE *
    Locate Setting Time: .00001
    Locate Setting Return: Error: -2019 ORA-02019: connection description for r
    emote database not found
    Link Table Count = 2
    1 FIADB  Y 0
    ORA-02019: connection description for remote database not found Select Stat
    ement: SELECT COUNT(1) FROM (SELECT P.STATECD, P.UNITCD, P.COUNTYCD, P.CYCL
    E, P.SUBCYCLE, P.PLOT, P.MEASYEAR, P.MEASMON, P.MEASDAY, P.MANUAL, P.CN FRO
    M FIADB.NIMS_NRIS_PLOT_VW@NRV_FIA_FIADB P, FIADB.NIMS_NRIS_COND_VW@NRV_FIA_
    FIADB C, FIADB.NIMS_NRIS_SURVEY_VW@NRV_FIA_FIADB S where p.cn = '4041000301
    0690' and c.plt_cn = p.cn and s.cn = p.srv_cn  GROUP BY P.STATECD, P.UNITCD
    , P.COUNTYCD, P.CYCLE, P.SUBCYCLE, P.PLOT, P.MEASYEAR, P.MEASMON, P.MEASDAY
    , P.MANUAL, P.CN)
    2 RMRS   1
    2
    * POPULATING SETTING DATA *
    starts
    after parse
    after define
    after execute_and_fetch
    after column_value
    after vc_global_id 223010848
    starts
    after parse
    after define
    after execute_and_fetch
    after column_value
    after vc_global_id 224010848
    * SETTING TABLE IS LOADED *
    Populate Setting Time: .00004
    * EXECUTE LOAD *
    starts
    after parse
    after define
    after execute_and_fetch
    after column_value
    after vc_global_id 201102496010848
    starts
    after parse
    after define
    after execute_and_fetch
    after column_value
    after vc_global_id 101533444010848
    starts
    after parse
    after define
    after execute_and_fetch
    after column_value
    after vc_global_id 100189313010848
    starts
    after parse
    after define
    after execute_and_fetch
    after column_value
    after vc_global_id 111150042010848
    starts
    after parse
    after define
    after execute_and_fetch
    after column_value
    after vc_global_id 100340573010848
    starts
    after parse
    after define
    after execute_and_fetch
    after column_value
    after vc_global_id 100340574010848
    starts
    after parse
    after define
    after execute_and_fetch
    after column_value
    after vc_global_id 201102497010848
    starts
    after parse
    after define
    after execute_and_fetch
    after column_value
    after vc_global_id 201102498010848
    starts
    ...I can paste the whole thing, but it literally scrolls for like 24 pages.
    So if someone REALLY needs to see it, let me know...
    But No packages have changed since February in the database. I asked him if he had set serveroutput on. And he doesn't.
    Anyone recognize this form of output? I have been digging at this since 6AM, and I'm getting no where fast.
    Thanks.

    LostInPermuation wrote:
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    PL/SQL Release 11.2.0.3.0 - Production
    CORE     11.2.0.3.0     Production
    TNS for Solaris: Version 11.2.0.3.0 - Production
    NLSRTL Version 11.2.0.3.0 - Production
    I have a user that is seeing this kind of out put out of no where.
    Start Time: 0
    FS_PUBLIC_READ04222013021758PM
    Starting Load...
    * VERIFY VERSION COMPATABILITY *
    Verify Version Time: 0
    * LOCATE SETTING SOURCE *
    Locate Setting Time: .00001
    Locate Setting Return: Error: -2019 ORA-02019: connection description for r
    emote database not found
    Link Table Count = 2
    1 FIADB  Y 0
    ORA-02019: connection description for remote database not found Select Stat
    ement: SELECT COUNT(1) FROM (SELECT P.STATECD, P.UNITCD, P.COUNTYCD, P.CYCL
    E, P.SUBCYCLE, P.PLOT, P.MEASYEAR, P.MEASMON, P.MEASDAY, P.MANUAL, P.CN FRO
    M FIADB.NIMS_NRIS_PLOT_VW@NRV_FIA_FIADB P, FIADB.NIMS_NRIS_COND_VW@NRV_FIA_
    FIADB C, FIADB.NIMS_NRIS_SURVEY_VW@NRV_FIA_FIADB S where p.cn = '4041000301
    0690' and c.plt_cn = p.cn and s.cn = p.srv_cn  GROUP BY P.STATECD, P.UNITCD
    , P.COUNTYCD, P.CYCLE, P.SUBCYCLE, P.PLOT, P.MEASYEAR, P.MEASMON, P.MEASDAY
    , P.MANUAL, P.CN)
    2 RMRS   1
    2
    * POPULATING SETTING DATA *
    starts
    after parse
    after define
    after execute_and_fetch
    after column_value
    after vc_global_id 223010848
    starts
    after parse
    after define
    after execute_and_fetch
    after column_value
    after vc_global_id 224010848
    * SETTING TABLE IS LOADED *
    Populate Setting Time: .00004
    * EXECUTE LOAD *
    starts
    after parse
    after define
    after execute_and_fetch
    after column_value
    after vc_global_id 201102496010848
    starts
    after parse
    after define
    after execute_and_fetch
    after column_value
    after vc_global_id 101533444010848
    starts
    after parse
    after define
    after execute_and_fetch
    after column_value
    after vc_global_id 100189313010848
    starts
    after parse
    after define
    after execute_and_fetch
    after column_value
    after vc_global_id 111150042010848
    starts
    after parse
    after define
    after execute_and_fetch
    after column_value
    after vc_global_id 100340573010848
    starts
    after parse
    after define
    after execute_and_fetch
    after column_value
    after vc_global_id 100340574010848
    starts
    after parse
    after define
    after execute_and_fetch
    after column_value
    after vc_global_id 201102497010848
    starts
    after parse
    after define
    after execute_and_fetch
    after column_value
    after vc_global_id 201102498010848
    starts
    ...I can paste the whole thing, but it literally scrolls for like 24 pages.
    So if someone REALLY needs to see it, let me know...
    But No packages have changed since February in the database. I asked him if he had set serveroutput on. And he doesn't.
    Anyone recognize this form of output? I have been digging at this since 6AM, and I'm getting no where fast.
    Thanks.As to why it should suddenly spew out on your user would be more of an application question, but the query shows some references to db_links, and a google of the error message (ORA-02019) seems to indicate that perhaps something happened to the tnsnames file on the server where this query was executing.

  • Strange output from jrcmd print_memusage (R28)

    Hi guys,
    my jrcmd print_memusage tells me that my my heap is exactly the same size as my 'Compiled code' memory space:
    Total mapped 3709432KB (reserved=1053884KB)
    - Java heap 1048576KB (reserved=0KB)
    - GC tables 35084KB
    - Thread stacks 46848KB (#threads=162)
    - Compiled code 1048576KB (used=50879KB)
    - Internal 904KB
    - OS 64836KB
    - Other 641440KB
    - Classblocks 47616KB (malloced=47354KB #116850)
    - Java class data 772096KB (malloced=772015KB #557889 in 116850 classes)
    - Native memory tracking 3456KB (malloced=1451KB #10)
    This seems very weird to me, why would these 2 things be exactly the same?

    seems like a large amount of memory for compiled code but thanks for the response. Good to know the result is a sane one.

Maybe you are looking for

  • Windows Vista and IIS7

    We are trying to install webtools on a demo laptop that is running Windows Vista and IIS7 - is that a supported platform?  We are having problems with IIS.

  • Firewire problem with camcorder

    Help! New iMac 24", 2.8. Firewire 800 has two drives attached, daisy-chained to another -- one is for video capturing / scratch disk, other is for time machine drive. The Firewire 400 port is used for my Canon camcorder. My plan seemed to me a good o

  • Unassigned nodes in the Stock report

    Dear Gurus,                  We designed a "Stock Overview Report -Vendor wise".Now,we got 2 issues.The report output is as follows: <b>Vendor   Batchno.   MaterialNo.    0quantityTotalStock</b>     ABC       HA123      MAT001        -20             

  • RG1 register update report

    Hi All, We have a new requirement to add the new column for billing document number in RG1update register report ( J1i5).  Any one can please tell me the table name or suggest me where can i get the datas. Than

  • Using Prefential Treatment - Preference errors

    I used preferential treatment (http://www.jonn8.com/html/pt.html) to check my preferences for errors. I could check my user preferences just fine and there were no problems. However when I checked my system preferences I got an error pop up that said