1 Reply Latest reply: Sep 18, 2007 6:37 AM by JoachimSauer RSS

    client server communication using sqlite3

    807605
      hi
      Here im trying to connect database in server but im unable
      i wrote code like


      Class.forName("org.sqlite.JDBC");
      Connection conn =DriverManager.getConnection("jdbc:sqlite:192.168.1.22/retriver.db);




      but finally im getting

      out of memory exception.

      plz tell me is it possible in sqlite client server communication,if possible how?

      Edited by: swathi.kambhampati on Sep 18, 2007 4:34 AM
        • 1. Re: client server communication using sqlite3
          JoachimSauer
          I doubt that those lines alone will result in an OutOfMemoryError.

          You should try debugging your code and step up to the point where the Error occurs.

          OutOfMemoryError usually only occurs when you've created lots of (big) objects and the JVM would need more than the maximum amount of memory allowed (which you can change using the -Xmx parameter).

          Could you post the complete error trace and message, please?