yggdrasil
  1. yggdrasil
  2. YGGDRASIL-14

BaseStation runs out of heap space and stops accepting any more samples.

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Blocker Blocker
    • Resolution: Unresolved
    • Affects Version/s: current
    • Fix Version/s: milestone 1
    • Component/s: YggdrasilHost
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      14

      Description

      Below is as much information as I could get out of the console. Thanks, Shah.

      [java] [DEBUG] Found Sensor : SENSORDATA_SPOTROUTING_B0C66952
      [java] [DEBUG] toPAML(), Read int: 367085803
      [java] [DEBUG] toPAML(), Read utf: 1D89:2860:2
      [java] [DEBUG] toPAML(), Returning to caller
      [java] [NONE] Received Sample at: Tue May 19 15:55:24 EDT 2009
      [java] [DEBUG] Sample.toPAML(): <?xml version="1.0" encoding="UTF-8"?>
      [java] <paml xmlns="http://yggdrasil.dev.java.net/xsd/001"
      [java] xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      [java] xsi:schemaLocation="http://yggdrasil.dev.java.net/xsd/001
      [java] http://yggdrasil.dev.java.net/xsd/001/001.xsd">
      [java] <environment>
      [java] <data id="-1329174190">
      [java] <sampleTime>1242758402634</sampleTime>
      [java] <sensorAddr>0014.4F01.0000.2252</sensorAddr>
      [java] <value>367085803</value>
      [java] <value>1D89:2860:2</value>
      [java] </data>
      [java] </environment>
      [java] </paml>
      [java]
      [java] [DEBUG] Opened HttpURLConnection
      [java] [DEBUG] initConnection() successfully connected
      [java] [DEBUG] initConnection() successful
      [java] [NONE] Sent data at Tue May 19 15:55:24 EDT 2009
      [java] [DEBUG] got a packet from SPOT 0014.4F01.0000.2773 @ Tue May 19 15:5
      5:24 EDT 2009
      [java] [DEBUG] got a packet from SPOT 0014.4F01.0000.2807 @ Tue May 19 15:5
      5:24 EDT 2009
      [java] [DEBUG] got a packet from SPOT 0014.4F01.0000.1E95 @ Tue May 19 15:5
      5:24 EDT 2009
      [java] [DEBUG] got a packet from SPOT 0014.4F01.0000.22BC @ Tue May 19 15:5
      5:24 EDT 2009
      [java] [DEBUG] got a packet from SPOT 0014.4F01.0000.2252 @ Tue May 19 15:5
      5:24 EDT 2009
      [java] [DEBUG] got a packet from SPOT 0014.4F01.0000.266F @ Tue May 19 15:5
      5:25 EDT 2009
      [java] [DEBUG] got a packet from SPOT 0014.4F01.0000.266F @ Tue May 19 15:5
      5:25 EDT 2009
      [java] [DEBUG] got a packet from SPOT 0014.4F01.0000.1E95 @ Tue May 19 15:5
      5:25 EDT 2009
      [java] [DEBUG] got a packet from SPOT 0014.4F01.0000.22BC @ Tue May 19 15:5
      5:25 EDT 2009
      [java] [DEBUG] got a packet from SPOT 0014.4F01.0000.1E95 @ Tue May 19 15:5
      5:25 EDT 2009
      [java] [DEBUG] got a packet from SPOT 0014.4F01.0000.1E95 @ Tue May 19 15:5
      5:25 EDT 2009
      [java] [DEBUG] got a packet from SPOT 0014.4F01.0000.1E95 @ Tue May 19 15:5
      5:25 EDT 2009
      [java] [DEBUG] Success sending data
      [java] [DEBUG] Got UNKNOWN EVENT : 32 : from : 0014.4F01.0000.1E95
      [java] [DEBUG] Got UNKNOWN EVENT : 32 : from : 0014.4F01.0000.2F74
      [java] [DEBUG] Got UNKNOWN EVENT : 32 : from : 0014.4F01.0000.1B97
      [java] [DEBUG] Got UNKNOWN EVENT : 32 : from : 0014.4F01.0000.2252
      [java] [DEBUG] Got UNKNOWN EVENT : 32 : from : 0014.4F01.0000.22BC
      [java] [DEBUG] Got UNKNOWN EVENT : 32 : from : 0014.4F01.0000.1E95
      [java] [DEBUG] Got UNKNOWN EVENT : 32 : from : 0014.4F01.0000.1B97
      [java] [DEBUG] Got DATA EVENT from : 0014.4F01.0000.2828
      [java] [DEBUG] DATA Event is from a different node
      [java] [DEBUG] Found Sensor : SENSORDATA_RADIOSENSOR_72F7CEEB
      [java] [DEBUG] toPAML(), Read long: 5716365247782549
      [java] [DEBUG] toPAML(), Read int: 243
      [java] [DEBUG] toPAML(), Read int: -11
      [java] [DEBUG] toPAML(), Read int: 2255
      [java] [DEBUG] toPAML(), Read long: 1242757802977
      [java] [DEBUG] toPAML(), Read long: 1242758403639
      [java] [DEBUG] toPAML(), Returning to caller
      [java] [NONE] Received Sample at: Tue May 19 15:55:25 EDT 2009
      [java] [DEBUG] Sample.toPAML(): <?xml version="1.0" encoding="UTF-8"?>
      [java] <paml xmlns="http://yggdrasil.dev.java.net/xsd/001"
      [java] xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      [java] xsi:schemaLocation="http://yggdrasil.dev.java.net/xsd/001
      [java] http://yggdrasil.dev.java.net/xsd/001/001.xsd">
      [java] <environment>
      [java] <data id="1928842987">
      [java] <sampleTime>1242758403639</sampleTime>
      [java] <sensorAddr>0014.4F01.0000.2828</sensorAddr>
      [java] <value>5716365247782549</value>
      [java] <value>243</value>
      [java] <value>-11</value>
      [java] <value>2255</value>
      [java] <value>1242757802977</value>
      [java] <value>1242758403639</value>
      [java] </data>
      [java] </environment>
      [java] </paml>
      [java]
      [java] [DEBUG] Opened HttpURLConnection
      [java] [DEBUG] initConnection() successfully connected
      [java] [DEBUG] initConnection() successful
      [java] [NONE] Sent data at Tue May 19 15:55:25 EDT 2009
      [java] [DEBUG] got a packet from SPOT 0014.4F01.0000.2828 @ Tue May 19 15:5
      5:25 EDT 2009
      [java] [DEBUG] got a packet from SPOT 0014.4F01.0000.1E95 @ Tue May 19 15:5
      5:25 EDT 2009
      [java] [DEBUG] got a packet from SPOT 0014.4F01.0000.1B97 @ Tue May 19 15:5
      5:25 EDT 2009
      [java] [DEBUG] got a packet from SPOT 0014.4F01.0000.266F @ Tue May 19 15:5
      5:25 EDT 2009
      [java] [DEBUG] got a packet from SPOT 0014.4F01.0000.1D89 @ Tue May 19 15:5
      5:26 EDT 2009
      [java] [DEBUG] got a packet from SPOT 0014.4F01.0000.22BC @ Tue May 19 15:5
      5:26 EDT 2009
      [java] [DEBUG] got a packet from SPOT 0014.4F01.0000.1D89 @ Tue May 19 15:5
      5:26 EDT 2009
      [java] [DEBUG] got a packet from SPOT 0014.4F01.0000.2828 @ Tue May 19 15:5
      5:26 EDT 2009
      [java] [DEBUG] got a packet from SPOT 0014.4F01.0000.2807 @ Tue May 19 15:5
      5:26 EDT 2009
      [java] [DEBUG] got a packet from SPOT 0014.4F01.0000.2828 @ Tue May 19 15:5
      5:26 EDT 2009
      [java] [DEBUG] got a packet from SPOT 0014.4F01.0000.1E95 @ Tue May 19 15:5
      5:26 EDT 2009
      [java] [DEBUG] got a packet from SPOT 0014.4F01.0000.2828 @ Tue May 19 15:5
      5:26 EDT 2009
      [java] [DEBUG] got a packet from SPOT 0014.4F01.0000.1B97 @ Tue May 19 15:5
      5:26 EDT 2009
      [java] [DEBUG] got a packet from SPOT 0014.4F01.0000.266F @ Tue May 19 15:5
      5:26 EDT 2009
      [java] [DEBUG] got a packet from SPOT 0014.4F01.0000.22BC @ Tue May 19 15:5
      5:26 EDT 2009
      [java] [DEBUG] got a packet from SPOT 0014.4F01.0000.266F @ Tue May 19 15:5
      5:26 EDT 2009
      [java] [DEBUG] got a packet from SPOT 0014.4F01.0000.1E32 @ Tue May 19 15:5
      5:26 EDT 2009
      [java] [DEBUG] got a packet from SPOT 0014.4F01.0000.1E32 @ Tue May 19 15:5
      5:26 EDT 2009
      [java] [DEBUG] got a packet from SPOT 0014.4F01.0000.2828 @ Tue May 19 15:5
      5:26 EDT 2009
      [java] [DEBUG] got a packet from SPOT 0014.4F01.0000.1E95 @ Tue May 19 15:5
      5:26 EDT 2009
      [java] [DEBUG] Success sending data
      [java] [DEBUG] Got DATA EVENT from : 0014.4F01.0000.2F74
      [java] [DEBUG] DATA Event is from a different node
      [java] [DEBUG] Found Sensor : SENSORDATA_SPOTROUTING_B0C66952
      [java] [DEBUG] toPAML(), Read int: 532143081
      [java] [DEBUG] toPAML(), Read utf: 266F:266F:1
      [java] [DEBUG] toPAML(), Returning to caller
      [java] [NONE] Received Sample at: Tue May 19 15:55:27 EDT 2009
      [java] [DEBUG] Sample.toPAML(): <?xml version="1.0" encoding="UTF-8"?>
      [java] <paml xmlns="http://yggdrasil.dev.java.net/xsd/001"
      [java] xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      [java] xsi:schemaLocation="http://yggdrasil.dev.java.net/xsd/001
      [java] http://yggdrasil.dev.java.net/xsd/001/001.xsd">
      [java] <environment>
      [java] <data id="-1329174190">
      [java] <sampleTime>1242758405449</sampleTime>
      [java] <sensorAddr>0014.4F01.0000.2F74</sensorAddr>
      [java] <value>532143081</value>
      [java] <value>266F:266F:1</value>
      [java] </data>
      [java] </environment>
      [java] </paml>
      [java]
      [java] [DEBUG] Opened HttpURLConnection
      [java] [DEBUG] initConnection() successfully connected
      [java] [DEBUG] initConnection() successful
      [java] [NONE] Sent data at Tue May 19 15:55:27 EDT 2009
      [java] [DEBUG] got a packet from SPOT 0014.4F01.0000.1E32 @ Tue May 19 15:5
      5:27 EDT 2009
      [java] [DEBUG] got a packet from SPOT 0014.4F01.0000.1E95 @ Tue May 19 15:5
      5:27 EDT 2009
      [java] [DEBUG] got a packet from SPOT 0014.4F01.0000.2252 @ Tue May 19 15:5
      5:27 EDT 2009
      [java] [DEBUG] got a packet from SPOT 0014.4F01.0000.266F @ Tue May 19 15:5
      5:27 EDT 2009
      [java] [DEBUG] got a packet from SPOT 0014.4F01.0000.266F @ Tue May 19 15:5
      5:27 EDT 2009
      [java] [DEBUG] got a packet from SPOT 0014.4F01.0000.266F @ Tue May 19 15:5
      5:27 EDT 2009
      [java] [DEBUG] got a packet from SPOT 0014.4F01.0000.2828 @ Tue May 19 15:5
      5:27 EDT 2009
      [java] [DEBUG] got a packet from SPOT 0014.4F01.0000.2252 @ Tue May 19 15:5
      5:28 EDT 2009
      [java] [DEBUG] got a packet from SPOT 0014.4F01.0000.1E95 @ Tue May 19 15:5
      5:28 EDT 2009
      [java] [DEBUG] Success sending data
      [java] [DEBUG] Got DATA EVENT from : 0014.4F01.0000.1E32
      [java] [DEBUG] DATA Event is from a different node
      [java] [DEBUG] got a packet from SPOT 0014.4F01.0000.1E95 @ Tue May 19 15:5
      5:28 EDT 2009
      [java] [DEBUG] Found Sensor : SENSORDATA_SPOTROUTING_B0C66952
      [java] [DEBUG] toPAML(), Read int: 634486288
      [java] [DEBUG] toPAML(), Read utf: 1E06:1EFB:15
      [java] [DEBUG] toPAML(), Returning to caller
      [java] [NONE] Received Sample at: Tue May 19 15:55:28 EDT 2009
      [java] [DEBUG] Sample.toPAML(): <?xml version="1.0" encoding="UTF-8"?>
      [java] <paml xmlns="http://yggdrasil.dev.java.net/xsd/001"
      [java] xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      [java] xsi:schemaLocation="http://yggdrasil.dev.java.net/xsd/001
      [java] http://yggdrasil.dev.java.net/xsd/001/001.xsd">
      [java] <environment>
      [java] <data id="-1329174190">
      [java] <sampleTime>1242758401291</sampleTime>
      [java] <sensorAddr>0014.4F01.0000.1E32</sensorAddr>
      [java] <value>634486288</value>
      [java] <value>1E06:1EFB:15</value>
      [java] </data>
      [java] </environment>
      [java] </paml>
      [java]
      [java] [DEBUG] Opened HttpURLConnection
      [java] [DEBUG] initConnection() successfully connected
      [java] [DEBUG] initConnection() successful
      [java] [NONE] Sent data at Tue May 19 15:55:28 EDT 2009
      [java] [DEBUG] got a packet from SPOT 0014.4F01.0000.2773 @ Tue May 19 15:5
      5:28 EDT 2009
      [java] [DEBUG] got a packet from SPOT 0014.4F01.0000.1E95 @ Tue May 19 15:5
      5:28 EDT 2009
      [java] [DEBUG] got a packet from SPOT 0014.4F01.0000.2773 @ Tue May 19 15:5
      5:28 EDT 2009
      [java] [DEBUG] CLOSING PACKET SERVER CONNECTION
      [java] [radiogram]Removing: Server on port 4
      [java] [DEBUG] Success sending data
      [java] Exception in thread "Thread-3" java.lang.OutOfMemoryError: Java heap
      space
      [java] at sun.util.resources.TimeZoneNames.getContents(TimeZoneNames.ja
      va:175)
      [java] at sun.util.resources.OpenListResourceBundle.loadLookup(OpenList
      ResourceBundle.java:109)
      [java] at sun.util.resources.OpenListResourceBundle.loadLookupTablesIfN
      ecessary(OpenListResourceBundle.java:97)
      [java] at sun.util.resources.OpenListResourceBundle.handleGetObject(Ope
      nListResourceBundle.java:58)
      [java] at sun.util.resources.TimeZoneNamesBundle.handleGetObject(TimeZo
      neNamesBundle.java:59)
      [java] at java.util.ResourceBundle.getObject(ResourceBundle.java:378)
      [java] at java.util.ResourceBundle.getObject(ResourceBundle.java:381)
      [java] at java.util.ResourceBundle.getStringArray(ResourceBundle.java:3
      61)
      [java] at sun.util.TimeZoneNameUtility.retrieveDisplayNames(TimeZoneNam
      eUtility.java:100)
      [java] at sun.util.TimeZoneNameUtility.retrieveDisplayNames(TimeZoneNam
      eUtility.java:81)
      [java] at java.util.TimeZone.getDisplayNames(TimeZone.java:399)
      [java] [DEBUG] Got UNKNOWN EVENT : 32 : from : 0014.4F01.0000.1E95
      [java] [DEBUG] Got UNKNOWN EVENT : 32 : from : 0014.4F01.0000.1B97
      [java] [DEBUG] Got DATA EVENT from : 0014.4F01.0000.2252
      [java] at java.util.TimeZone.getDisplayName(TimeZone.java:350)
      [java] at java.util.Date.toString(Date.java:1025)
      [java] at java.lang.String.valueOf(String.java:2827)
      [java] at java.lang.StringBuffer.append(StringBuffer.java:219)
      [java] at com.sun.spotx.yggdrasil.sensorframework.services.EventServer.
      handlePacket(EventServer.java:152)
      [java] at com.sun.spotx.yggdrasil.sensorframework.services.RadiogramPac
      ketServer$ReceiveThread.run(RadiogramPacketServer.java:88)
      [java] [DEBUG] DATA Event is from a different node
      [java] [DEBUG] Found Sensor : SENSORDATA_SPOTROUTING_B0C66952
      [java] [DEBUG] toPAML(), Read int: 367085803
      [java] [DEBUG] toPAML(), Read utf: 22BC:22BC:1
      [java] [DEBUG] toPAML(), Returning to caller
      [java] Exception in thread "Thread-5" java.lang.OutOfMemoryError: Java heap
      space
      [java] at java.util.LinkedHashMap.createEntry(LinkedHashMap.java:424)
      [java] at java.util.LinkedHashMap.addEntry(LinkedHashMap.java:406)
      [java] at java.util.HashMap.put(HashMap.java:385)
      [java] at sun.util.resources.OpenListResourceBundle.loadLookup(OpenList
      ResourceBundle.java:118)
      [java] at sun.util.resources.OpenListResourceBundle.loadLookupTablesIfN
      ecessary(OpenListResourceBundle.java:97)
      [java] at sun.util.resources.OpenListResourceBundle.handleGetObject(Ope
      nListResourceBundle.java:58)
      [java] at sun.util.resources.TimeZoneNamesBundle.handleGetObject(TimeZo
      neNamesBundle.java:59)
      [java] at java.util.ResourceBundle.getObject(ResourceBundle.java:378)
      [java] at java.util.ResourceBundle.getObject(ResourceBundle.java:381)
      [java] at java.util.ResourceBundle.getStringArray(ResourceBundle.java:3
      61)
      [java] at sun.util.TimeZoneNameUtility.retrieveDisplayNames(TimeZoneNam
      eUtility.java:100)
      [java] at sun.util.TimeZoneNameUtility.retrieveDisplayNames(TimeZoneNam
      eUtility.java:81)
      [java] at java.util.TimeZone.getDisplayNames(TimeZone.java:399)
      [java] at java.util.TimeZone.getDisplayName(TimeZone.java:350)
      [java] at java.util.Date.toString(Date.java:1025)
      [java] at com.sun.spotx.yggdrasil.host.database.SensorWebHandler.handle
      NodeEvent(SensorWebHandler.java:231)
      [java] at com.sun.spotx.yggdrasil.sensorframework.Switchboard.handleNod
      eEvent(Switchboard.java:333)
      [java] at com.sun.spotx.yggdrasil.sensorframework.services.EventServer.
      handleNodeEvent(EventServer.java:118)
      [java] at com.sun.spotx.yggdrasil.sensorframework.services.EventServer$
      1.run(EventServer.java:132)
      [java] [DEBUG] SLEEP (50125/5344002)
      [java] [DEBUG] assigning task RadioInterval
      [java] Exception in thread "Thread-1" java.lang.OutOfMemoryError: Java heap
      space
      [java] at java.io.DataInputStream.<init>(DataInputStream.java:42)
      [java] at com.sun.spot.peripheral.radio.ProxyMACCommandExecutor.run(Pro
      xyMACCommandExecutor.java:57)
      [java] Exception in thread "TaskWorker2" java.lang.OutOfMemoryError: Java h
      eap space
      [java] [DEBUG] SLEEP (59875/5403877)
      [java] [DEBUG] assigning task request_cleaner
      [java] Exception in thread "TaskWorker1" java.lang.OutOfMemoryError: Java h
      eap space
      [java] Exception in thread "Timer-2" java.lang.OutOfMemoryError: Java heap
      space
      [java] Exception in thread "Timer-1239" java.lang.OutOfMemoryError: Java he
      ap space

        Activity

        Hide
        arshan added a comment -

        changed to P1 as if the host is failing in field the collection will fail

        Show
        arshan added a comment - changed to P1 as if the host is failing in field the collection will fail

          People

          • Assignee:
            arshan
            Reporter:
            shahriyar
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: