Suddenly too many MB per disc

Suddenly when I put in a music disc and call it up, it reads 10X the amount of memory that it used to, i.e. a particular album I load previously indicated about 46 minutes took up 47 MB....now when I tried it again for a test it reads 469 MB. Tried to change AAC to MP3 and even WAV but it doesn't seem to matter. The reason I did this test was that I noticed that any disc I tried to load took up a great deal of memory. Any suggestions?

Welcome to the Boards Francis (-:
"Tried to change AAC to MP3 and even WAV but it doesn't seem to matter."
It does matter, alot.
Encoded AAC or MP3 @ 128 Kbps requires approx. 1MB of storage per stereo minute of runtime.
Unencoded 16 bit / 44.1 kHZ PCM (i.e. WAV or AIF format at the same resolution as used in the Audio CD standard) requires approx. 10.5MB of storage per stereo minute of runtime.
So if you're ripping from CD and switch from MP3 or AAC to WAV format (based on the abovementioned bitrates/resolutions), your tracks will take up 10x more space on your hard disk.
If you're trying to burn a CD and you've selected "Audio CD" format in your prefs, iTunes will convert all tracks to 16/44.1 PCM files (i.e. 10.5MB/minute) for compatibility with the Red Book Audio CD standard, thus enabling the burnt disc to be played by garden variety audio CD players. Hence, a 128Kbps AAC/MP3 file that takes up 4MB in your iTunes Library will blow out to approx. 40MB when burnt in Audio CD format.
Hope that all makes sense (-;

Similar Messages

  • Too many addresses per customer = synch crash

    Hi,
    I have spent the last few hours getting to the bottom of this problem. There seems to be a limit to the number of addresses that the synch manager can successfully synch per customer. We have a number of customers with addresses that exceed 250 addresses.
    If any update was made to one of these BP's the synch manager was crashing with no error message. Running SQL Profiler showed that the synch got about 250 or so addresses in before crashing.
    A bit of experimentation (deleting addresses) has shown that the maximum for my setup seems to be about 250 addresses per customer.
    As I lowered the number I also received an error message relating to Out of memory (this is a 4GB RAM server).
    My course of action will be to make sure that we have a maximum of 250 addresses per BP (unless anyone else has a better course of action), but I just thought I would flag this in case anyone else was having this problem.
    Martin.

    This problem no longer affects me. We simply reduced the number of addresses, many were obsolete.
    The synch is running smoothly for me except for the problem listed in the other thread.
    Thanks.
    Martin.

  • BB Curve 8520 : Too many files per directory ?

    Hello,
    I recently bought a 16 GB micro-SD card, and formatted it for my BlackBerry Curve 8520, but when I try to copy the entire content of my music folder (about 2000 files) in the card, my BlackBerry tells me the card contains some errors and i need to format it again. However it works when I only put a small amount of files on the card (for example, 50 music files). Is there a way to fix this ? Do i need to split my music into different folders or something ?
    Thanks in advance,
    pie3636
    Solved!
    Go to Solution.

    Hello,
    After several tries, it appears that my BlackBerry simply didn't like the songs with japanese characters in their title. I just renamed some of my songs and now it works perfectly !
    Thank you

  • Too many archived documents are suddenly extracted into BW

    Dear All,
    I am not person of Finance but I will try to provide necessary details here.
    We have archiving in place in ECC. For a specific document, if I go to FB03 for the document, it shows the information but with message that 'Document is already archived'. Document is related to year 2011.
    Now, suddenly too many documents were extracted last week spanning from year 2009 to 2011. When I check in 'Document changes', it shows that last change was done in 2011 only.
    I want to know what possible change could cause these archived documents to extract again into BW.
    or any pointers are also welcome.
    Thanks,
    Purvang

    If you bought it from Apple, you are covered by one year of AppleCare, which includes three months of free phone support, for any problem. You should take full advantage of that. It sounds like you may have hardware issues (the audio jack) but a lot of your items sound like a matter of changing preferences or display settings - Apple can help with this, as can a local friendly Mac consultant.
    For example, you mention that you get a "screen-wide mass of writing". Do you know what application you're opening the file in? Many Mac apps have full-screen mode, which sounds like what you describe, and you can get out of it by moving your cursor to the top right of the screen until you see the menu bar appear - there's a blue icon with two arrows, and clicking this will get you out of full screen mode.
    QuickTime does not play all formats of video. Try an alternative video player such as VLC. (http://videolan.org/VLC)
    Hope that helps somewhat.
    Matt

  • Why is my iPad suddenly not opening the Yahoo home page? I get a message saying Safari can not open the page due to too many redirects. This started yesterday. I shut my iPad down and still no luck.

    Why is my iPad suddenly not opening the Yahoo home page? I get a message saying Safari can not open the page due to too many redirects. This started yesterday, and I have already tried shutting off my iPad.

     

  • Suddenly getting "Too Many Open File" error

    Dear All,
    I have listener program which have been working well for the past few months. Suddenly I start to get "Too Many Open File" error. What can be solution? Is it I need to increase the file descriptors or any other solution? Thank you.

    Dear Ejp,
    Attached below is my codes. I have remove some of the fields for db just to make the code a bit more easier to read. Where do you think is leaking?
    public class commServer {
    public static void main(String[] args) {
    try {
                   final ServerSocket serverSocketConn = new ServerSocket(8888);
                        while (true)
                                  try
                             Socket socketConn1 = serverSocketConn.accept();
    new Thread(new ConnectionHandler(socketConn1)).start();               
                                  catch(Exception e)
                                                 System.out.println(e.toString());
    catch (Exception e)
    System.out.println(e.toString());
    //System.exit(0);
    class ConnectionHandler implements Runnable {
    private Socket receivedSocketConn1;
    DateFormat dateFormat = new SimpleDateFormat("dd/MM/yyyy HH:mm:ss");
    DateFormat formatter = new SimpleDateFormat("EEE, dd MMM yyyy");
    DateFormat inDf=new SimpleDateFormat("ddMMyyHHmmss");
    DateFormat outDf=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
    ConnectionHandler(Socket receivedSocketConn1) {
    this.receivedSocketConn1=receivedSocketConn1;
    //@Override
    public void run() {
    Connection dbconn = null;
    BufferedWriter w = null;
    BufferedReader r = null;
    try {
    PrintStream out = System.out;
         BufferedWriter fout = null;
    w = new BufferedWriter(new OutputStreamWriter(receivedSocketConn1.getOutputStream()));
    r = new BufferedReader(new InputStreamReader(receivedSocketConn1.getInputStream()));
    int m = 0, count=0;
    String line="";
    String n="";
    w.write("$PA\n");
    w.flush();
    while ((m=r.read()) != -1)
    Date dateIn = new Date();
         n = n + (char) m;
         int i = n.indexOf("GET");
                                  if(i != -1) {
                                       break;
         if (m==35)
         String ori = n;
         String noCheckSum = n.substring(0,(n.length()-4));
                   int addExist = n.indexOf("@");
    String[] slave = null;
    if(addExist!=-1)
         slave = noCheckSum.split("@");
              n = slave[0];
              //System.out.println(" slave : "+slave.length);
                   else
                        n = noCheckSum;
         String[] result = n.split(",");
         Statement stmt = null;
         w.write("$PA\n");
    w.flush();
                   int count1 = 0;
    Date date = Calendar.getInstance().getTime();
    String today = formatter.format(date);
                        String filename= "MyDataFile"+today+".txt";
    boolean append = true;
    FileWriter fw = null;
    try
    fw = new FileWriter(filename,append);
         fw.write(ori+" "+dateFormat.format(dateIn)+"\n");//appends the string to the file
         Date dateOut = new Date();
         fw.write("$PA"+" "+dateFormat.format(dateOut)+"\n");//appends the string to the file
    catch (IOException ex)
                        //ex.printStackTrace(new PrintWriter(sWriter));
                        System.out.println("MyError:IOException has been caught in in the file operation");
                        ex.printStackTrace();
                        finally
                   try
         if ( fw != null )
              fw.close();
         else
              System.out.println("MyError:fw is null in finally close");
                        catch(IOException ex){
                        System.out.println("MyError:IOException has been caught in fw is null in finally close");
                        ex.printStackTrace();
         try
                             String deviceID=result[3].trim();      
                             String dateTime=result[4].trim();                          
                             String[] result2 = result[10].split("'");                          
                             String gpsDate = result2[1].trim().substring(0,6);                    
                             String gpsTime = result2[1].trim().substring(6,12);                         
                             String gpsLat = result2[1].trim().substring(13,20);
                             String latitude = result2[1].trim().substring(13,20).substring(0,2)+"."+result2[1].trim().substring(13,20).substring(2,7);
                             String gpsLong = result2[1].trim().substring(21,29);
                             String longitude = result2[1].trim().substring(21,29).substring(0,3)+"."+result2[1].trim().substring(21,29).substring(3,8);
                             String speed = result2[1].trim().substring(30,33);                         
                             String course = result2[1].trim().substring(33,36);
                   String dateTimer = null;
                             try
                             Date inDate=null;
                             inDf.setTimeZone(TimeZone.getTimeZone("UTC"));
                             inDate=inDf.parse(dateTime);
                             outDf.setTimeZone(TimeZone.getTimeZone("Asia/Kuala_Lumpur"));
                                       dateTimer=outDf.format(inDate);
                             catch(ParseException ex)
                             System.out.println("MyError:Parse Error has been caught for date parse close");
              ex.printStackTrace();
                        dbconn = DriverManager.getConnection("jdbc:mysql://192.168.1.155:3306/db1?"+"user=db1&password=test1");
                   stmt = dbconn.createStatement();
                   String selectQuery2 = "Select * from tripData Where deviceID='"+ deviceID +"' and dateTimer>'"+dateTimer+"' Order By dateTimer Desc Limit 1";
                   ResultSet rs2 = stmt.executeQuery(selectQuery2);
                   String updateQuery = "";
                   if(rs2.next())
                        String previousLatitude="";
                        String previousLongitude="";
                        String previousSpeed="";
                        previousLatitude = rs2.getString("latitude");
                        previousLongitude = rs2.getString("longitude");
                        previousSpeed = rs2.getString("speed");
                        updateQuery = "UPDATE device SET " +
                                       "latitude='" + previousLatitude +
                                       "',longitude='" + previousLongitude +
                                       "',speed='" + previousSpeed +
                                       "' WHERE serialNumber='" + deviceID + "'";
                   else
                   updateQuery = "UPDATE device SET " +
                                       "latitude='" + latitude +
                                       "',longitude='" + longitude +
                                       "',speed='" + speed +
                                       "',course='" + course +
                                       "',dateTimer='" + dateTimer +
                                       "' WHERE serialNumber='" + deviceID + "'";
                        count = stmt.executeUpdate(updateQuery);                    
                   String insertQuery = "INSERT INTO tripData" +
                                       "(latitude,longitude,speed,course,dateTimer,deviceID)" + " VALUES ('" +
                                       latitude + "','" + longitude + "','" + speed + "','" + course + "','" + dateTimer + "','" + deviceID + "' )";
         count = stmt.executeUpdate(insertQuery);
              if(addExist!=-1)
              for(int iSlave=1; iSlave<slave.length ; iSlave++)
                                            String[] slaveDetails = slave[iSlave].split(",",-1);
                                            String slaveEventType = slaveDetails[0];
                                            String slaveGroup = slaveDetails[1];
                                            String slaveUnitID = slaveDetails[2];
                                            String slaveBattLevel = slaveDetails[3];
                                            String slaveSwitchStat = slaveDetails[4];
                                            String slaveTempHumid = slaveDetails[5];
                                       String slaveTemp="",slaveHumid="";                                   
                                       if(slaveTempHumid.length()>0)
                                       slaveHumid = slaveTempHumid.substring(5,7);
                                                 if(slaveTempHumid.charAt(0)=='P')
                                                 slaveTemp = "+"+slaveTempHumid.substring(1,3)+"."+slaveTempHumid.substring(3,5);                                                  
                                                 else if(slaveTempHumid.charAt(0)=='M')
                                                 slaveTemp = "-"+slaveTempHumid.substring(1,3)+"."+slaveTempHumid.substring(3,5);
                                       slaveBattLevel = slaveBattLevel.trim().substring(0,2)+"."+slaveBattLevel.trim().substring(2,3);
                                            String insertQuery2 = "INSERT INTO tripDataSlave" +
                                            "(dateTimer,deviceID,slaveUnitID,slaveEventType,slaveGroup,slaveBattLevel,slaveSwitchStat,slaveTemp,slaveHumidity)" + " VALUES ('" +
                                            dateTimer + "','" + deviceID + "','" + slaveUnitID + "','" + slaveEventType + "','" + slaveGroup + "','" + slaveBattLevel + "','" + slaveSwitchStat + "','" + slaveTemp + "','" + slaveHumid + "')";
              count = stmt.executeUpdate(insertQuery2);
                   catch (SQLException ex)
    System.out.println("MyError:Error : "+ex);
                        finally
                        try
                             if ( stmt != null )
                             stmt.close();
                             else
                                  System.out.println("MyError:stmt is null in finally close");
                        catch(SQLException ex){
                        System.out.println("MyError:SQLException has been caught for stmt close");
    ex.printStackTrace();
                        try
                             if ( dbconn != null )
                             dbconn.close();
                             else
                             System.out.println("MyError:dbconn is null in finally close");
                        catch(SQLException ex){
                        System.out.println("MyError:SQLException has been caught for dbconn close");
    ex.printStackTrace();
         n="";
    catch (IOException ex)
    System.out.println("MyError:IOException has been caught in in the main first try");
    ex.printStackTrace();
    finally
    try
         if ( w != null )
              w.close();
         else
              System.out.println("MyError:w is null in finally close");
    catch(IOException ex){
    System.out.println("MyError:IOException has been caught in w in finally close");
    ex.printStackTrace();
    }

  • Why Has Too Many Tabs Been Suddenly Removed?

    Firefox and add ons have been working fine.
    Following a crash I am now informed that Too Many Tabs 1.3.6 is not compatible with Firefox 3.6.18 .
    I don't want to upgrade because, usually, numerous add ons fail to work with upgrades and an upgrade tends to be a retrograde step as regards add ons.
    Firefox usually issues new versions prematurely, and tends to put the cart before the horse as regards add ons.
    They can't patiently wait until add ons are ready and compatible.

    I can't see why there would be a problem. Have you tried uninstalling and re-installing Too Many Tabs? If you have continuing problems you should get in touch with the developer.
    Waiting for add-on developers would take forever and a day. The worst culprits are the toolbars of big commercial operations who have many months notice of version changes. And often the changes required are truly minor. I manage very well with no third party toolbars.
    My extensions have not needed updating for weeks. If you have an extension that is lagging there are often better alternatives, certainly better maintained. Too Many Toolbars doesn't seem to be a culprit.
    Sorry for the lecture. I have no connections with Firefox except as a happy user.

  • How do you uninstall lion; too many problems

    how do you uninstall lion; too many problems

    Downgrade Lion to Snow Leopard
    1.  Boot from your Snow Leopard Installer Disc. After the installer loads select your language and click on the Continue button.  When the menu bar appears select Disk Utility from the Utilities menu.
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Note the SMART status of the drive in DU's status area.  If it does not say "Verified" then the drive is failing or has failed and will need replacing.  SMART info will not be reported  on external drives. Otherwise, click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, set the partition scheme to GUID then click on the OK button. Click on the Partition button and wait until the process has completed.
    4. Quit DU and return to the installer. Install Snow Leopard.
    This will erase the whole drive so be sure to backup your files if you don't have a backup already. If you have performed a TM backup using Lion be aware that you cannot restore from that backup in Snow Leopard (see below.) I suggest you make a separate backup using Carbon Copy Cloner 3.4.1.
    If you have Snow Leopard Time Machine backups, do a full system restore per #14 in Time Machine - Frequently Asked Questions.  If you have subsequent backups from Lion, you can restore newer items selectively, via the "Star Wars" display, per #15 there, but be careful; some Snow Leopard apps may not work with the Lion files.

  • Router connection problems - DISH satellite receivers or too many devices?

    (Sorry about that - I thought I had broken the message up.)
    I'm having significant issues with my Linksys router timing out, and need help. I'll try to be as detailed as I can.
    I have the following:
    - Linksys WRT54G v3 wireless router I purchased off eBay 3-4 years ago. Using 128-bit WEP secirity. Even though the model says WRT54G, my Linksys setup page says I have a WRT54GL. Don't know if that's pertinent but thought I'd include the info)
    - HP desktop running Vista Home Premium
    - Gateway Solo laptop (circa 3Q 2002) running WinXP SP3, and also have WPC54G - Wireless-G Notebook Adapter
    - Gateway M275 Notebook running Windows XP Tablet Edition w/SP3, internal wireless card
    - Linksys WRE54G Wireless Range Expander, v3
    My broadband internet connects to my cable modem, which then runs via ethernet to my router. I have my desktop connected to my router via (wired) ethernet cable (port 1), and the two laptops connect wirelessly. All three computers on my network run just fine and have had no connection issues until I had two (2) DISH satellite receivers installed this past Friday.
    Prior to installation, I knew I would need the two receivers hooked up to my network via ethernet cable. Since one receiver was in the same room as my router, it was easy to run an ethernet cable from my router to the receiver (port 2). I had a challenge with the upstairs receiver, because I didn't have a direct connection, and wasn't sure how to wire it. So, I used my range expander by plugging in the expander into a nearby outlet, then connecting the receiver to the expander via ethernet cable.
    I had some issues getting a good signal, and did some troubleshooting but made it work. Now I had five devices connected to my router: two with a wired ethernet cable and three wirelessly.
    I started having connection timeouts within about 3-4 hours of satellite [receiver] installation. All of the sudden I couldn't connect to the internet on ANY device; both laptops couldn't connect wirelessly, my desktop couldn't connect, and the receivers were telling me my connection was bad. I checked modem but there were no issues. Still, I unplugged the power cable from the modem for a minute, then reconnected - still no internet. I called my cable company to have them troubleshoot the modem, but they pinged it several times & got positive results - still no internet, so I ruled the modem out.
    I tried using the Windows connection troubleshooter to repair the problem, and got a DNS error message (which I don't know how to fix). I decided to unplug my router for 10-15 seconds, then plug back in - that got my internet connection going again. That lasted a couple hours & then failed. I unplugged the router again (is that a soft reset or a power cycle?), then reconnected & was able to connect to the internet. This happened a few more times over the weekend, and finally I decided the expander might be the issue (both DISH and Linksys tech support was not very helpful).
    I found a way to wire my second receiver via ethernet cable (port 3), so now I had three wired devices, and two wireless devices. I thought this would fix the problem; it didn't, but at least I learned how to wire CAT5 cable. So I got that going for me... which is nice.
    I plugged the ethernet cable directly from my modem to my desktop to test the timeout, but had no issues - the modem just wasn't the problem.
    I was getting some IP address conflicts on my Norton Inernet Security, so I uninstalled that from my desktop, disconnected the power from the modem, disconnected the power from the router, shut down all devices, reset the IP addresses on the receivers, deleted the wireless connection from the laptops, shut down the desktop, and just left the whole mess alone for half a day. Then I reinstalled the Norton Internet Security, connected my wired devices, plugged the modem in, plugged the router in, reset my security, connected wirelessly with my laptops.
    Within an hour my connection timed out.
    Trying to chat with tech support wasn't feasible, as my connection kept going out. A guy at work said I shoudl ping my IP address, and let it repeat until my connection goes out. So I unplugged the router and plugged it back in to get an internet connection, the opened a cmd prompt and typed
    ping 192.168.1.1 -t
    I left it alone for a few hours, and when I came back, my internet connection was down, but I was still getting active pings - no problems there.
    At this point I thought I had done everything except replacing my router (which I'm still tempted to do), but I called my broadband provider to see if there was anything they could do. One of the techs said I had too many devices connected to the internet, but I thought these routers were supposed to handle dozens of devices?
    I finally called Linksys Tech Support and had a conversation for 90 minutes. We went through all the steps of unplugging the the modem, router & all connected devices, resetting the router, etc, etc. The only thing different he did was had me change my security from WPA to 64-bit WEP, and added passwords for DNA1 and DNS 2 (same password for each).
    That was at 1:30am last night, and when I woke up to check my connection this morning, it was still connected. I have to check it again when I get home, but I'm wondering if I should just be prepared to get another router (and if so, any recommendations), or if there's something I'm still not doing that could resolve my issue - if I still have connection losses.
    Also, I'm concerned about the security thing. If changing from WEP 128 or WPA to WEP 64 fixed my problem, I'm not sure I feel completely protected from intrusion - isn't that pretty much the least amount of security I can have (without forgoing it altogether)??
    Finally, I've read a few threads suggesting possibly changing to static IP from DHCP; however, my satellite receiver installation documentation specifically advises against this for the receivers.
    Anyway, I would very much appreciate some help.
    Message Edited by CKdoubleU on 10-01-2008 08:43 AM

    First please break that long text into separate paragraphs. No one wants to read one long runon sentences
    With Knowledge… Impossible means nothing.
    Credentials
    Computer experience: 11 years
    Cisco networks experience: 8 years
    Network administrator: 6 years
    N.E.T. networks experience: 6 years
    Linksys networks experience: 6 years
    Recent additions: A+ | Networks+ | Linux+ | Security+

  • Too many connections - even after closing ResultSets and PreparedStatements

    I'm getting a "Too many connections" error with MySQL when I run my Java program.
    2007-08-06 15:07:26,650 main/CLIRuntime [FATAL]: Too many connections
    com.mysql.jdbc.exceptions.MySQLNonTransientConnectionException: Too many connections
            at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:921)
            at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2870)
            at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:812)
            at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:3269)
            at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1182)
            at com.mysql.jdbc.Connection.createNewIO(Connection.java:2670)I researched on this and found out that I wasn't closing the ResultSet and the PreparedStatement.
    The JDBC connection is closed by a central program that handles connections (custom connection pooling).
    I added the code to close all ResultSets and PreparedStatements, and re-started MySQL as per the instructions here
    but still get "Too many connections" error.
    A few other things come to mind, as to what I may be doing wrong, so I have a few questions:
    1) A few PreparedStatements are created in one method, and they are used in a 2nd method and closed in the 2nd method
    does this cause "Too many connections" error?
    2) I have 2 different ResultSets, in nested while loops where the outer loop iterates over the first ResultSet and
    the inner loop iterates over the second ResultSet.
    I have a try-finally block that wraps the inner while loop, and I'm closing the second ResultSet and PreparedStement
    in the inner while loop.
    I also have a try-finally block that wraps the outer while loop, and I'm closing the first ResulSet and PreparedStatement
    in the outer while loop as soon as the inner while loop completes.
    So, in the above case the outer while loop's ResultSet and PreparedStatements remain open until the inner while loop completes.
    Does the above cause "Too many connections" error?
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    The following is relevant sections of my code ( it is partially pseudo-code ) that shows the above 2 cases:
    init( Connection jdbcConnection ){
       String firstSQLStatement = "....";
       PreparedStatement ps1 = jdbcConnection.prepareStatement( firstSQLStatement );
       String secondSQLStatement = "....";
       PreparedStatement ps2 = jdbcConnection.prepareStatement( secondSQLStatement );
       String thirdSQLStatement = "....";
       PreparedStatement ps3 = null;
       ResultSet rsA = null;
       try{
            ps3 = jdbcConnection.prepareStatement( thirdSQLStatement );
            rsA = ps3.executeQuery();
            if( rsA.next() ){
                   rsA.getString( 1 );
       }finally{
            if( rsA != null )
                   rsA.close();
            if( ps3 != null )
              ps3.close();
       //Notice, how ps1 and ps2 are created here but not used immediately, but only ps3 is
       //used immediately.
       //ps1 and ps2 are used in another method.
    run( Connection jdbcConnection ){
         ResultSet rs1 = ps1.executeQuery();
            try{
               while(rs1.next()){
                    String s = rs1.getString();
                    ps2.setString(1, s);
              ResultSet rs2 = ps2.executeQuery();
                    try{
                   while(rs2.next()){
                        String s2 = rs2.getString();
                    }finally{
                   if( rs2 != null )
                     rs2.close();
                   if( ps2 != null )
                     ps2.close();
         }catch( Exception e ){
              e.printStackTrace();
         }finally{
            if( rs1 != null )
                  rs1.close();
               if( ps1 != null )
                  ps1.close();
    //Notice in the above case rs1 and ps1 are closed only after the inner
    //while loop completes.
    }I appreciate any help.

    Thanks for your reply.
    I will look at the central connection pooling mechanism ( which was written by someone else) , but that is being used by many other Java programs others have written.
    They are not getting this error.
    An addendum to my previous note, I followed the instructions here.
    http://dev.mysql.com/doc/refman/5.0/en/too-many-connections.html
    There's probably something else in my code that is not closing the connection.
    But I just wanted to rule out the fact that opening a PreparedStatement in one method and closing it in another is not a problem.
    Or, if nested ResultSet loops don't cause the problem.
    I've read in a few threads taht "Too many connections" can occur for unclosed RS and PS , and not just JDBC connections.

  • "Too Many Real Instruments"

    I am posting this in the '09 topic, but my question really dates back to Garageband '08. I rely on Garageband often, and I'm a big fan of it. However, it contains a serious problem which I need fixed.
    I create a new project, drop a single iTunes song into it, and begin to edit. Almost every time, randomly while playing the song the "Part of the project was not played. This project has too many real instrument tracks to be played in real-time" warning message appears. I only have 1 track! Worse still, my audio driver lets out a terrible "HONK" which startles me and blasts through the entire house. After that, My sound output faintly exists until I open up Audio MIDI Setup and change a random setting on my output.
    I am quite tired of this predicament. Is there anyway to fix this (without money)?

    I was experiencing a similar problem, and I just got off the phone with applecare and went through all their steps.
    I'll try my best to recount them here. But before I do, let it be said that the tech fellow, once he heard what I was doing, exclaimed that my core problem was that I needed to be creating new projects, and not re-using the same project (ex. "My Song 2") over and over.
    What I've been doing is backing up a pile of mini-discs that have live concerts on them. A couple of hours of audio each one, and I've been recording them into Garageband. After I divide the concert up into songs and export them to itunes, I've been deleting the track in Garageband and then importing the next concert (repeat x 10 concerts).
    About 7-8 concerts in I started getting that popping sound when the sound would cut out (made the sound of depressing the safety-seal bubble on the metal lid of a jam jar). At first, quitting Garageband and opening it again would work. On the 10th concert, when the sound cut out the sound for the whole computer would stop working (itunes, volume buttons on my keyboard, everything).
    So the tech fellow said the lesson is this: create new projects. Don't be shy about it. No need to re-use and recycle in cyberspace.
    Now - my applecare steps:
    - First we went: Macintosh HD, Library, then dragged "Caches" to the trash
    - then went to Finder, Go, Utilities, Disk Utility, Macintosh HD, Repair Disk Permissions (that took some time)
    - then restarted the computer
    All seems to be well now.
    Good luck

  • Why does it keep telling me I have too many tabs open even if I only have one or 2?

    When I am online, several times a day it will not open a new tab and pop up a screen that tells me I have too many tabs open and gives me the option to let it close them or I can close them. But I may only have 1 tab open, sometimes more than that but it doesn't seem to matter how many. I can shut down my computer and bring it back up and it will work ok for a little while and then all of a sudden when I go to open a new tab it does it all over again. I am using mozilla and vista.

    hello, please try to [[Reset Firefox – easily fix most problems|reset firefox]] and see if this can address the issue...

  • I can't save files anymore after upgrading to iOS8. Do I have too many on my iPad?

    I'm a heavy Photoshop Touch user, with the last version of the app and iOS 8 on an iPad Air, and lately I often can't save the files I've been working on: the app suddenly quits as soon as I try to save the often multilayered image, but also lighter photographs. If I restart the app, it doesn't help.
    I have a lot of files in my PS Touch library. I don't know how many exactly, or how much the whole library weighs. I have plenty of space available on the iPad (42 GB free) however, so that's not the issue. I've been uploading files to the Creative Cloud lately, and deleting them afterwards from the PS Touch library on the iPad, but there are still hundreds of files in that library which were not uploaded to CC because I didn't yet have access, and which I therefore can't delete yet to make room.
    Attempts to automatically sync all files to CC have failed. The app unexpectedly quits.
    Uploads to CC of the files is possible in small groups —but extremely tedious, impossible in fact as there are too many files. I can't even scroll down the library very far without provoking a freeze of the app.
    Furthermore, it doesn't look like I can extract the files through iTunes. I can't see the library of documents contained in PS Touch on iTunes. I subscribe to the Creative Suite on Creative Cloud, but that's of no help, I imagine. Except that I'd perhaps be able to open all the PSDX files in Photoshop cc if I was able to retrieve them.
    Question: Assuming there is a memory problem, is there any way of extracting a large number of PS Touch files from the iPad to make room and clean the app up, so that I can work with it again?
    Any other idea so that I don't lose all this work?
    Message was edited by: ibarrien

    Hi Ignacio,
    There were 1271 files in my PS Touch library. They were most often multilayered. I copied them to iTunes in batches of 20-50, then saved them to my Mac.
    I initially tried quitting all other apps to liberate some RAM, but that didn't help. It must be a memory problem within the PS Touch app itself.

  • Operation Could Not Be Completed:  Too Many Open...

    I've had this error showing up a lot in the Safari 3.2 and 4.0 beta activity window when loading multiple tabs of pages with many images (usually gallery type pages or blogs with lots of thumbnails). The result is that some images or other elements like style sheets don't load, leading to the blue question mark, or messed up formatting. Unfortunately, the activity window can't be stretched wide enough to see the whole error, but in fact it's "Operation Could Not Be Completed: Too Many Open Files". The error "socket(PF_ROUTE) failed: Too many open files" shows up in the Console as well, at least with Safari 4. I had also experienced similar problems with "Operation Timed Out" errors as well.
    I've been pulling my hair out on this one, because it's rather inconsistent, not to mention annoying. You can usually get an individual page to load completely by refreshing it, but that kind of defeats the purpose of loading multiple tabs all at once. It's also less of a problem if more of those pages are already cached, but you never know for sure. Running your connection through a proxy also helps a bit, but not always.
    I found a fix, but it's actually not Safari's "fault" per se. The issue lies in the allowable number of open files per user process, which is set by the system's launchd process at boot time. Note that Safari is not entirely innocent, as FireFox doesn't have this problem. It Seems that Safari just tries to load everything all at once, whereas FireFox does a better job of managing its load requests. Anyway if you run the following command in Terminal:
    sudo launchctl limit
    the following list should show up (with perhaps slightly different values)
    cpu unlimited unlimited
    filesize unlimited unlimited
    data 6291456 unlimited
    stack 8388608 67104768
    core 0 unlimited
    rss unlimited unlimited
    memlock unlimited unlimited
    maxproc 200 532
    maxfiles 256 unlimited
    The second column is a "soft limit" and the third column is a "hard limit", though to be honest I'm not exactly sure what the difference entails. The image loading problem is caused by hitting the maxfiles limit of just 256 files. The solution is to change maxfiles to 4096/unlimited, and also change maxproc to 1000/2000 since it's pretty low as well. That sounds like a pretty big change, but OS X server is supposed to change them to numbers like this when services like Apache are enabled, and Apple even mentions how to change maxproc at http://support.apple.com/kb/TS1659
    To make these changes, run the following two commands in Terminal and restart the computer:
    echo "limit maxproc 1000 2000" | sudo tee -a /etc/launchd.conf
    echo "limit maxfiles 4096 unlimited" | sudo tee -a /etc/launchd.conf
    The commands add the two lines in quotes to the launchd.conf file in /etc/ (if no file exists yet, it creates it). That should clear up the loading issues. I haven't noticed any other problems with these increased numbers, but I'll report back if anything seems to go amiss. Hopefully this will be helpful to someone.

    I faced the same problem with an image gallery using css for image resizing. Thanks for the explanation.

  • Too many partitions in my W530?

    This may look like a silly question and I fully admit that it might be it... But I have been unable to find a way to get rid of some apparently unuseful partitions in my SSD. I am attaching two images (see below) for clarity.
    In image 1, I can see only two partitions, C: and Q: and there are also listed three other "Devices with Removable Storage": the DVD RW drive (D: ), the Removable Disk (F: ) and the Removable Disk (G: ). I tried to get rid of these last two (F: and G: ) but could not figure out how to achieve it. Not that their presence is a problem, just for cleaning purposes, as I do not see any need for them to be listed there. I don't even fathom what they may actually represent.
    In image 2, taken from the Acronis True Image backup app, besides the same C: and Q: partitions, I also see a System_drv and an unamed partition that are not listed in the Windows-7 figure. The Unamed Partition, by the way, is always empty but I was discouraged in the past to just get rid of it. I wonder if I should, having received conflicting advice on whether or not to do it.
    My question is: How can I eliminate the Removable Disks F: and G: as shown in the Windows figure and would it be a good idea to get rid of the Unamed partition as shown in the Acronis figure.
    All help will be very much appreciated.
    Thanks.
    Link to image 1
    Link to image 2
    Moderator note: images totalling more than 50k converted to links per forum rules:  Lenovo Community Participation Rules

    If you were to install Win7 from scratch on a brand new empty drive (spinner or SSD, doesn't matter) and not change anything from the standard default installation options, you'd get TWO partitions:
    (1) un-lettered "system reserved" 100MB, where Boot Manager (and boot menu, presented if you were to install a second or subsequent bootable OS after installing Win7 as the first bootable OS) is placed.  This is also marked as the ACTIVE partition, so that the BIOS goes here to start the actual boot process.
    (2) C-partition for the rest of the drive.  This is where Windows itself gets installed, as a "system" drive.
    In the case of Lenovo-provided machines, they have installed additional recovery tools, which are placed into that small un-lettered partition normally referred to as "system reserved" and only 100MB.  Lenovo has enlarged the partition from the standard 100MB to about 1.5GB, but it's functionally identical in purpose.  Also, it's been labeled "SYSTEM_DRV", rather than "System Reserved", but this is of no relevance.
    And Lenovo's also added that additional Q-partition, which is where the "data" for system recovery is placed, in the event you needed to or wanted to restore your machine to initial factory state, exactly as it looked when it first came out of the box.
    So... what's critical here is that standard Windows7 requires the TWO partitions: (1) ACTIVE partition, where Boot Manager and boot menu lives and where the BIOS goes to start the boot process on what is configured as the first hard drive in the boot sequence, and (2) C-partition because that is specified as the one-and-only bootable OS partition according to the default one-OS boot menu built by the Win7 installer and subsequently examined by Boot Manager at boot time.  Since by default there is only one bootable OS you will not be presented with the boot menu, but instead Boot Manager will simply use that one-and-only OS and start it.  If you had two or more bootable OS's, you'd get a boot list presented onscreen by Boot Manager, and you'd need to select which one to boot from within say 10 seconds else the default OS would automatically be booted.
    Any "system image" backup requires BOTH of the above partitions to be checked, since [at least theoretically] BOTH of them need to be backed up and/or restored in tandem should you need to recover from a disaster.  By backing and restoring BOTH, you guarantee a 100% working operating environment should you need to recover from a disaster.
    Now the Q partition can be deleted (and its space re-allocated to either expand C, or perhaps in conjunction with shrinking the generally much too large C can be used to allocate one or more additional "data" partitions D, E, etc.) if you will NEVER need to or want to recover back to Lenovo's "factory-provided" out-of-the-box system setup.  This could be the case if you use an alternative method for disaster recovery, such as using Macrium Reflect to take regular periodic (say once a week) "system image" backups, say to an external USB 3.0 drive.
    So you could use Macrium Reflect to take an initial "system image" backup, which would effectively be your equivalent of the Lenovo-provided Q partition content, although you wouldn't need Q if you had to restore the Macrium "system image" backup.  And then you'd just establish a weekly regime of further "system image" backups using Macrium, as your ongoing regular protection from a loss of Windows integrity which required some kind of restore to a prior working system.  In this case it would be no older than last week's backup.
    If you needed more current protection, just take more frequent "system image" backups (if you only have a C partition), or add a second backup tool like NovaBACKUP to take monthly/daily "data" backups (also to the external USB 3.0 drive).
    ==> You don't have "too many partitions".  But the above description explains why you have what you have, and confirms that you can blow away Q if you have an alternative and superior backup/recovery method (such as Macrium Reflect) in case of a disaster.

Maybe you are looking for

  • Info Records - Setup Costs

    On info records, I have defined the per piece cost but my vendor has a flat rate to set up their machine. How do I do this? Thanks to all!!

  • Need to reinstall Quicktime X

    Don't ask how I lost it! :-/ I followed instructions for re-instillation using Pacifist but after using Pacifist and searching for QuicktimePlayer.App all I find is a log file, no way of re-installing. David Brewer gave great instructions and followi

  • Adobe PDF Converter Login Problem

    We purchased an annual subscription for Adobe PDF Converter but my login today tells me there is a problem

  • SAP Recipe Management

    Hello All, I am very interested in learning SAP Recipe Management. Could someone kindly send me the SAP PLM160 course material link from where I can download the same. Thanks in advance. Sachin

  • Previous years depriciation in AW01N

    Hi i am in rollout project, i have uploaded couple of Asset through AS91 and updated Take-over values. There are couple of assets whose Net Book Value is Zero. When we upload these Zero balance asset to SAP my client want the previous years depreciat