More jrun using up memory problems
There seem to be a lot of problems like this but everyone's situation seems to be a little different. It makes it hard to find solutions. Here is what we are dealing with.
We are taking an XML file containing product data and importing it into a SQL 2000 database. The xml file is about 6mb and it has product data for about 4700 products. When we wrote the import we were running coldfusion 7 standard updated to 7.02. We run the import every night and it seemed to run fine. It took about 45 minutes to run but the server didn't crash. We just recently upgraded to cf 9 standard. After the upgrade when the import ran we were seeing lots of out of memory errors in the log. The second night it ran coldfusion had to be restarted.
We setup a testing server and ran the import there and watched the memory usage of jrun. As the import ran memory usage kept climbing until it reached the max heap size. After this the import got very slow and eventually coldfusion became completely unresponsive.
We changed the import so that it would do the products in smaller batches as separate requests. This seemed to be the answer. Between the requests the memory usage would drop down some and the whole thing was able to run without using up all the available memory. The import also takes a lot less time now that the memory usage isn't so high. We thought we had it fixed so we started running it on the production server.
After a couple days we noticed that our memory usage was very high on the production server. We went back to the testing server and ran the import a few times. After this we could see that each time it was run the memory usage would increase. After about 4 times the memory reached the max heap size and coldfusion became unresponsive. The memory usage never goes back down.
Some things to check / consider.
1. What are your JVM settings? What is your Maximum JVM Heap Size? If you are using the default value, 512 MB, consider a larger value. On a 32 bit server the upper limit is 1.8 GB. A 64 bit server can allocate more memory to the JVM, but I haven't seen any documentation that specifies the upper limits on 64 bit. (If anyone can point me to some info on this I'd be grateful.)
2. Consider moving the XML to SQL import process off of ColdFusion to another tool.
Some options:
a. A SQL Server DTS package
b. Use the bulk insert feature of SQL Server
c. Use a third party tool such as Altova Mapforce
Java and JVM page in CF administration
http://help.adobe.com/en_US/ColdFusion/9.0/Admin/WSc3ff6d0ea77859461172e0811cbf3638e6-7ffc .html#WSc3ff6d0ea77859461172e0811cbf3638e6-7feb
"Maximum JVM heap size greater than 1.8GB will prevent ColdFusion MX from starting"
http://go.adobe.com/kb/ts_tn_19359_en-us
"Examples of Bulk Importing and Exporting XML Documents" (SQL Server 2000)
http://msdn.microsoft.com/en-us/library/ms191184.aspx
Altova Mapforce
http://www.altova.com/mapforce.html
"Troubleshooting a Leaky Heap in Your JVM" (blog entry)
http://www.coldfusionmuse.com/index.cfm/2008/2/12/leaky.heap.jvm
Similar Messages
-
Report (uses LDB's) giving dump due to memory problem
Hi,
I have a report which is giving dump in production due to memory problem.
Memory is increased from basis part,but still getting same error.
the report uses Logical DataBases.
Can anyone suggest solution to solve this problem.
regards
MallikHi Amit,
thanks for ur quick reply and ur idea "make changes in development and write the logic to read records in chunks".
I have n't worked on LDB's till now.So i Don't know how I can read the data in chunks from LDB's.
Can u Plz give some idea how to read data in chunks.
Iam also sending the code,if possible ,plz go thru it and give me some idea.
Hope u will help me.
CODE.
REPORT ZAROP028
ABLES: PROJ, " Project definition
PRPS_R, " WBS element
PRPS, " WBS elements
TJ02T, " System Status Values
TCJ1, " Project Types
JEST, " Active System Status
COSP1, " cost totals - external postings
COSS1, " cost totals - internal postings
COVP11, " Line Items by Prd & Doc Header
COVP12, " Line Items by Prd & Doc Header
BHDGD, " Page heading table.
AUFK, " Order Master Data for WBS (LDB)
ANEP, " Asset line item
COBRB, "Distribution Rules Settlement Ru
SETHIER, "Hierarchy Structure
TKA02, "Controlling Area Assignment
CEPC, "Profit Center Master Data
PSDYPD, "Dummy struct for GET proj late
PSDYPR, "Dummy struct for GET PRPS_R late
PSDYNP. "Dummy struct for GET AUFK late
CONSTANTS:
C_E TYPE C VALUE 'E',
C_I TYPE C VALUE 'I',
C_N TYPE C VALUE 'N',
C_X TYPE C VALUE 'X',
C_Y TYPE C VALUE 'Y',
C_NE(2) TYPE C VALUE 'NE',
C_EQ(2) TYPE C VALUE 'EQ',
C_USD(3) TYPE C VALUE 'USD',
C_04(2) TYPE C VALUE '04',
C_I0046(5) TYPE C VALUE 'I0046'
various working storage
DATA:
W_TXT04(4) TYPE C. " make status uppercase
DATA: ACTIVE(1) TYPE C VALUE 'A', " type for status_flag
INACTIVE(1) TYPE C VALUE 'I', " type for status_flag
STATUS_FLAG(1) TYPE C VALUE 'I', " wbs active or inactive?
INACTIVEDT LIKE SY-DATUM, " inactive date for wbs
REC_FLAG TYPE C VALUE 'N', " records retrieved?
DAYS_INACTIVE TYPE I, " days wbs has been inac
W_LOWINACT TYPE I, " smallest inactive days
WBS_CNT TYPE I, " cnt for wbs in status
W_AUC_COST TYPE P DECIMALS 2, " unsettled auc cost
W_VNAME LIKE PRPS_R-VNAME. " venture number storage
DATA: BEGIN OF ITAB OCCURS 0, "MELI-5F2KMH
COMPCODE LIKE PROJ-VBUKR, " company code
PLANT LIKE PROJ-WERKS, " plant
PROJECT LIKE PROJ-PSPID, " project
NAME LIKE PROJ-POST1, " project description
DINACT TYPE I, " days proj inactive
PRCTR LIKE PROJ-PRCTR, " profit center
SETID LIKE SETHIER-SETID, " level 2 pc hier
DESCRIPT LIKE SETHEADERT-DESCRIPT,
VERNA LIKE PROJ-VERNA, " person responsible
AUC TYPE P DECIMALS 2, " AUC unsettled amount
END OF ITAB.
DATA: BEGIN OF I_INACT OCCURS 0,
STAT LIKE JEST-STAT,
INACT LIKE JEST-INACT,
END OF I_INACT.
DATA: EQ_FLAG TYPE C, " system status flag
NE_FLAG TYPE C. " system status flag
TYPES: BEGIN OF T_COSTS,
PSPID LIKE PROJ-PSPID,
BUDAT LIKE COVP11-BUDAT,
END OF T_COSTS.
DATA: I_PROJ LIKE PROJ OCCURS 0 WITH HEADER LINE,
I_PRPS_R LIKE PRPS_R OCCURS 0 WITH HEADER LINE,
I_COSTS TYPE T_COSTS OCCURS 0 WITH HEADER LINE.
DATA: W_RECORDS TYPE I.
DATA: FOUND_FLAG TYPE C. " CHAD-4PRPDE
DATA: BEGIN OF I_HIER OCCURS 0. "FEAT-5BNRRP
INCLUDE STRUCTURE SETHIER. "FEAT-5BNRRP
DATA: END OF I_HIER. "FEAT-5BNRRP
RANGES: R_TJ02T FOR TJ02T-ISTAT.
DATA: W_LVL2 LIKE SETHIER-SETID. "MELI-5F2KMH
SELECTION-SCREEN BEGIN OF BLOCK PROJECT WITH FRAME TITLE TEXT-B01.
PARAMETERS: P_BUDAT LIKE COVP11-BUDAT,
DAYINACT(3) TYPE N DEFAULT '090'.
SELECTION-SCREEN SKIP. "FEAT-5BNRRP
PARAMETERS: P_PC-SET LIKE CEPC-KHINR OBLIGATORY "FEAT-5BNRRP
DEFAULT 'SCH_STREAM'. "FEAT-5BNRRP
SELECTION-SCREEN END OF BLOCK PROJECT.
SELECTION-SCREEN BEGIN OF BLOCK SORT WITH FRAME TITLE TEXT-B02.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(13) TEXT-C01.
SELECTION-SCREEN POSITION 15.
PARAMETERS: P_PLANT RADIOBUTTON GROUP SORT DEFAULT 'X'.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(13) TEXT-C03. "FEAT-5BNRRP
SELECTION-SCREEN POSITION 15.
PARAMETERS: P_PRCTR RADIOBUTTON GROUP SORT. "FEAT-5BNRRP
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(13) TEXT-C04.
SELECTION-SCREEN POSITION 15.
PARAMETERS: P_DAYS RADIOBUTTON GROUP SORT.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK SORT.
AT SELECTION-SCREEN OUTPUT.
PERFORM USER_PARM_INIT.
AT SELECTION-SCREEN.
PERFORM CHECK_PROJ_CRITERIA.
START-OF-SELECTION.
PERFORM BUILD_PC_HIER USING P_PC-SET.
Project Definition *
GET PROJ.
MOVE-CORRESPONDING PROJ TO I_PROJ. "MELI-5F2KMH
APPEND I_PROJ. "MELI-5F2KMH
CLEAR I_PROJ.
WBS element table
GET PRPS_R.
MOVE-CORRESPONDING PRPS_R TO I_PRPS_R.
APPEND I_PRPS_R.
CLEAR I_PRPS_R.
GET all order and cost objects associated with order and elements
GET AUFK.
GET COSP1.
CHECK COSP1-WRTTP EQ C_04. " check if value type '04'
Get last date that the wbselement was updated and determine status
GET COVP11.
MOVE PROJ-PSPID TO I_COSTS-PSPID.
MOVE COVP11-BUDAT TO I_COSTS-BUDAT.
APPEND I_COSTS.
CLEAR I_COSTS.
Loop through Internal cost statements
GET COSS1.
CHECK COSS1-WRTTP EQ C_04. " if value type is 04
Get last date that the wbselement was updated and determine status
GET COVP12.
MOVE PROJ-PSPID TO I_COSTS-PSPID.
MOVE COVP12-BUDAT TO I_COSTS-BUDAT.
APPEND I_COSTS.
CLEAR I_COSTS.
END-OF-SELECTION.
PERFORM BUILD_TABLE.
DELETE ITAB WHERE DINACT < DAYINACT.
DESCRIBE TABLE ITAB LINES W_RECORDS.
IF W_RECORDS = 0.
MESSAGE I024.
ENDIF.
PERFORM WRITE_REPORT.
FORM CHECK_PROJ_CRITERIA *
This form verifies correct selection criteria has been entered from *
the selection screen inputs. If incorrect data has been entered the*
valid information messages are displayed. *
FORM CHECK_PROJ_CRITERIA.
check for either posting date or inactivity criteria but not both
IF NOT P_BUDAT IS INITIAL AND NOT DAYINACT IS INITIAL.
MESSAGE E119.
ENDIF.
IF NOT DAYINACT IS INITIAL. "check s/o day inactive
IF NOT DAYINACT <= 998.
MESSAGE E018.
ELSE.
INACTIVEDT = SY-DATUM - DAYINACT.
ENDIF.
if days inactive is initial set INACTIVEDT using the posting date
ELSE.
INACTIVEDT = P_BUDAT.
ENDIF.
ENDFORM. " CHECK_PROJ_CRITERIA
FORM GET_AUC_COSTS *
This form retrieves AUC costs for records based on AUFK2 where they *
meet project criteria. This pulls the unsettled amount on a AUC as *
a settlement receiver. *
FORM GET_AUC_COSTS USING F_OBJNR F_BUKRS.
CONSTANTS:
C_SETLEMENT_ANNUAL LIKE COBRB-PERBZ VALUE 'JHR', "Annual Settlement
C_DEP_AREA_STD LIKE ANEP-AFABE VALUE '01'. "Std depreciation
DATA: L_ANLC LIKE ANLC OCCURS 0 WITH HEADER LINE,
L_ANLCV LIKE ANLCV OCCURS 0 WITH HEADER LINE,
BEGIN OF L_COBRB OCCURS 0, "SRIN-6ZNEAR
ANLN1 LIKE COBRB-ANLN1,
ANLN2 LIKE COBRB-ANLN2,
END OF L_COBRB,
F_H_COST TYPE P DECIMALS 2.
SELECT ANLN1 ANLN2 FROM COBRB
INTO TABLE L_COBRB " SRIN-6ZNEAR
WHERE OBJNR = F_OBJNR
AND PERBZ = C_SETLEMENT_ANNUAL.
IF SY-SUBRC NE 0. " gary-463qbd
EXIT. " gary-463qbd
ENDIF. " gary-463qbd
LOOP AT L_COBRB. " gary-463qbd
CLEAR: F_H_COST.
SELECT SINGLE * FROM ANLC
INTO L_ANLC
WHERE BUKRS = F_BUKRS AND
ANLN1 = L_COBRB-ANLN1 AND
ANLN2 = L_COBRB-ANLN2 AND
GJAHR = SY-DATUM(4) AND
AFABE = C_DEP_AREA_STD AND
ZUJHR = '0000' AND
ZUCOD = '0000'.
IF SY-SUBRC = 0.
CALL FUNCTION 'FI_AA_VALUES_CALCULATE'
EXPORTING
I_ANLC = L_ANLC
IMPORTING
E_ANLCV = L_ANLCV.
F_H_COST = L_ANLCV-BCHWRT_LFD.
ENDIF.
ADD: F_H_COST TO W_AUC_COST.
ENDLOOP. " gary-463qbd
ENDFORM. " GET_AUC_COSTS
FORM CHECK_INACTIVE_DATE *
This form checks the computed inactive date based on the formal *
parameter DAYS_INACTIVE. If DAYS_INACTIVE is more current than the *
current lowest inactive date W_LOWINACT then W_LOWINACT is replaced *
with this value. *
FORM CHECK_INACTIVE_DATE USING DAYS_INACTIVE.
IF DAYS_INACTIVE < W_LOWINACT.
MOVE DAYS_INACTIVE TO W_LOWINACT.
ELSEIF W_LOWINACT EQ 0.
MOVE: DAYS_INACTIVE TO W_LOWINACT,
W_LOWINACT TO ITAB-DINACT.
ENDIF.
ENDFORM. " CHECK_INACTIVE_DATE
FORM build_table *
collect fields to the internal table ITAB *
FORM BUILD_TABLE.
SORT I_COSTS BY PSPID ASCENDING BUDAT DESCENDING.
LOOP AT I_PROJ.
CLEAR W_AUC_COST.
READ TABLE I_COSTS WITH KEY PSPID = I_PROJ-PSPID
BINARY SEARCH.
IF SY-SUBRC = 0.
ITAB-DINACT = SY-DATUM - I_COSTS-BUDAT.
ELSE.
ITAB-DINACT = SY-DATUM - I_PROJ-ERDAT.
ENDIF.
LOOP AT I_PRPS_R WHERE PSPHI = I_PROJ-PSPNR AND
BELKZ = 'X'.
IF NOT I_PRPS_R-IMPRF IS INITIAL.
PERFORM GET_AUC_COSTS USING I_PRPS_R-OBJNR
I_PRPS_R-PBUKR.
ELSE.
CONTINUE.
ENDIF.
ENDLOOP.
ITAB-COMPCODE = I_PROJ-VBUKR.
ITAB-PLANT = I_PROJ-WERKS.
ITAB-PROJECT = I_PROJ-PSPID.
ITAB-NAME = I_PROJ-POST1.
ITAB-PRCTR = I_PROJ-PRCTR.
ITAB-VERNA = I_PROJ-VERNA.
ITAB-AUC = W_AUC_COST.
IF ITAB-DINACT > DAYINACT.
PERFORM GET_HIER_INFO.
ENDIF.
APPEND ITAB.
CLEAR ITAB.
ENDLOOP.
ENDFORM. " BUILD_TABLE
FORM STATUS_CHECK *
Checks the active status of the project definition for the *
parameter values assigned. *
FORM STATUS_CHECK USING F_OBJNR.
begin of GARY-463QBD
CLEAR: I_INACT.
REFRESH: I_INACT.
MOVE: C_N TO EQ_FLAG,
C_Y TO NE_FLAG.
retrieve status for a given record
SELECT STAT INACT
INTO TABLE I_INACT
FROM JEST
WHERE OBJNR EQ F_OBJNR AND
INACT NE C_X.
sort internal status entered by user
SORT R_TJ02T BY OPTION DESCENDING.
check all current object statuses meet user entered criteria
LOOP AT R_TJ02T WHERE OPTION EQ C_NE.
check for user selected options
READ TABLE I_INACT WITH KEY STAT = R_TJ02T-LOW.
IF SY-SUBRC EQ 0.
MOVE C_N TO NE_FLAG.
EXIT.
ENDIF.
ENDLOOP.
LOOP AT R_TJ02T WHERE OPTION EQ C_EQ.
check for user selected options
READ TABLE I_INACT WITH KEY STAT = R_TJ02T-LOW.
IF SY-SUBRC EQ 0.
MOVE C_Y TO EQ_FLAG.
EXIT.
ENDIF.
ENDLOOP.
check for no statuses entered as EQ option
LOOP AT R_TJ02T WHERE OPTION EQ C_EQ.
EXIT.
ENDLOOP.
if so move c_y to eq_flag
IF SY-SUBRC NE 0.
MOVE C_Y TO EQ_FLAG.
ENDIF.
if both eq_flag or ne_flag are true(c_y) move true to valid_flag
IF ( EQ_FLAG EQ C_N OR
NE_FLAG EQ C_N ).
REJECT 'PRPS_R'.
ENDIF.
end of GARY-463QBD
ENDFORM. " STATUS_CHECK
Form WRITE_REPORT
FORM WRITE_REPORT.
IF P_PLANT EQ 'X'.
SORT ASCENDING BY ITAB-BUSAREA "FEAT-5BNRRP
SORT ITAB ASCENDING BY PLANT
PROJECT.
ELSEIF P_PRCTR EQ 'X'.
SORT ITAB ASCENDING BY PRCTR "FEAT-5BNRRP
PROJECT.
ELSE.
SORT ITAB ASCENDING BY DINACT
PROJECT.
ENDIF.
FORMAT COLOR COL_BACKGROUND INTENSIFIED ON.
"MELI-5F2KMH
LOOP AT ITAB. "MELI-5F2KMH
WRITE: / ITAB-COMPCODE,
9(4) ITAB-PLANT,
17(12) ITAB-SETID,
33(40) ITAB-DESCRIPT,
77(10) ITAB-PRCTR,
91(24) ITAB-PROJECT,
119(40) ITAB-NAME,
163(25) ITAB-VERNA,
192(15) ITAB-AUC CURRENCY C_USD,
211(8) ITAB-DINACT.
ENDLOOP.
ENDFORM. " WRITE_REPORT
Form USER_PARM_INIT
Initializes user parameter settings
FORM USER_PARM_INIT.
ENDFORM. " USER_PARM_INIT
At top of every page, generate Amoco-standard header.
TOP-OF-PAGE.
MOVE: '0' TO BHDGD-INIFL,
SY-LINSZ TO BHDGD-LINES,
SY-UNAME TO BHDGD-UNAME,
SY-REPID TO BHDGD-REPID,
SY-TITLE TO BHDGD-LINE1,
SPACE TO BHDGD-DOMAI,
SPACE TO BHDGD-SEPAR,
SPACE TO BHDGD-MIFFL.
IF P_PLANT EQ 'X'.
MOVE TEXT-H01 TO BHDGD-LINE2.
ELSE.
MOVE TEXT-H03 TO BHDGD-LINE2. "FEAT-5BNRRP
ENDIF.
temporarily clear sy-mandt to remove "europe" from header "FEAT-5BNRRP
DATA: W_MANDT LIKE SY-MANDT.
BHDGD-BUKRS = SPACE.
W_MANDT = SY-MANDT.
CLEAR SY-MANDT.
FORMAT COLOR COL_BACKGROUND INTENSIFIED OFF.
PERFORM BATCH-HEADING(RSBTCHH0).
FORMAT RESET.
reset sy-mandt "FEAT-5BNRRP
SY-MANDT = W_MANDT.
PERFORM PGH_WRITE_HEADING USING TEXT-003 INACTIVEDT. "MELI-5F2KMH
SKIP 1.
ULINE.
write heading info
FORMAT COLOR COL_TOTAL INTENSIFIED ON.
WRITE: /1(5)'CCode',
9(5)'Plant',
17(12)'Level 2 Node',
33(40)'Level 2 Node Description',
77(10)'Profit Ctr',
91(18)'Project Definition',
119(19)'Project Description',
163(18)'Person Responsible',
192(15)' AUC Unsettled',
211(13)'Days Inactive'.
end FEAT-5BNRRP
BEGIN FEAT-5BNRRP NEW FORMS
FORM BUILD_PC_HIER
FORM BUILD_PC_HIER USING SETID.
DATA: W_SETID LIKE SETHIER-SETID,
W_NEWSETID LIKE SETHIER-SETID.
CONCATENATE '0H' SETID INTO W_SETID.
CALL FUNCTION 'G_SET_GET_ID_FROM_NAME'
EXPORTING
SHORTNAME = W_SETID
TABNAME = 'GLPCT'
SETCLASS = '0106'
SUPRESS_POPUP = 'X'
OLD_SETID = W_NEWSETID
IMPORTING
NEW_SETID = W_NEWSETID.
CALL FUNCTION 'G_SET_TREE_IMPORT'
EXPORTING
CLIENT = SY-MANDT
LANGU = SY-LANGU
SETID = W_NEWSETID
TABNAME = 'GLPCT'
TABLES
SET_HIERARCHY = I_HIER
EXCEPTIONS
SET_NOT_FOUND = 1
ILLEGAL_FIELD_REPLACEMENT = 2
ILLEGAL_TABLE_REPLACEMENT = 3
OTHERS = 4.
CLEAR I_HIER.
ENDFORM.
FORM GET_HIER_INFO
FORM GET_HIER_INFO.
DATA: W_SETID LIKE SETHIER-SETID,
W_KHINR LIKE CEPC-KHINR,
W_INDEX TYPE I.
CLEAR: W_SETID,
W_KHINR,
W_INDEX.
DETERMINE PROFIT CENTER NODE
SELECT SINGLE KHINR
FROM CEPC
INTO W_KHINR
WHERE PRCTR EQ ITAB-PRCTR.
CONCATENATE '0106' I_PROJ-VKOKR W_KHINR
INTO W_SETID.
READ TABLE I_HIER WITH KEY
SETID = W_SETID.
IF SY-SUBRC EQ 0.
W_INDEX = SY-TABIX.
DO.
READ TABLE I_HIER INDEX W_INDEX.
IF W_INDEX = 0.
ITAB-SETID = 'Not Found'.
EXIT.
ENDIF.
IF I_HIER-LEVEL = 1.
ITAB-SETID = I_HIER-SETID+8(12).
ITAB-DESCRIPT = I_HIER-DESCRIPT.
EXIT.
ENDIF.
IF I_HIER-LEVEL = 2.
ITAB-SETID = I_HIER-SETID+8(12).
ITAB-DESCRIPT = I_HIER-DESCRIPT.
EXIT.
ENDIF.
W_INDEX = W_INDEX - 1.
ENDDO.
ELSE.
ITAB-SETID = 'Not Found'.
ENDIF.
ENDFORM.
END FEAT-5BNRRP NEW FORMS
*& Form PGH_WRITE_HEADING WR MELI-5F2KMH
FORM PGH_WRITE_HEADING USING L_V1 L_V2.
DATA: L_LINSZ LIKE SY-LINSZ.
DATA: L_TITLEL LIKE SY-TABIX.
DATA: L_START LIKE SY-TABIX.
DATA: L_DATE LIKE SY-DATUM.
DATA: L_FORMATTED_DATE(10) TYPE C.
DATA: L_TITLE(27) TYPE C.
MOVE L_V2 TO L_DATE.
WRITE L_DATE TO L_FORMATTED_DATE.
CONCATENATE L_V1 L_FORMATTED_DATE INTO L_TITLE
SEPARATED BY SPACE.
L_LINSZ = SY-LINSZ.
L_TITLEL = STRLEN( L_TITLE ).
L_START = ( L_LINSZ / 2 ) - ( L_TITLEL / 2 ) - 2.
NEW-LINE.
POSITION L_START.
WRITE: L_TITLE.
regards
Mallik -
Memory problems when using alias channel strips (3.0.2)
I'm having memory issues when using alias channel strips. What is happening is I create one instance of the plugin, say Massive. Then make a bunch of other alias on different patches. When looking at the memory usage everytime I add and alais it increases the memory usage by an amount the same as the origional plugin. ie. add 3 alias and you have 3 times more memory usage. See attached photos.
Original plugin instance ~80mb memory usage
Adding 3 Alias channel strips. ~330mb memory usage
By comparison here is the usage by adding 3 brand new instance of the plugins. ~160mb memory usage
By comparison it is using less memory by having 4 seperate instances of the plugin compared to using 3 alias's of the origional. This doesn't make sense since the whole point of an alias is to save memory by only loading one instance of the plugin.
Anyone have any thoughts?
JonWhat's interesting is that if I, starting with a blank concert, add a Massive to a patch and then make an alias the memory is as you say. But if I make a duplicate of the inital patch and then make alias's of that the memory is lower.
Are you seeing the same with the built-in plug-ins? -
Sql server is using memory more then there max memory setting?
Hi All,
today i have faced the different issue..........
we have one SQl server 2008 prod server... it have memory issue actually total server memory is 8GB and we have allocated the 6 GB to SQL server,we checked the server no open trans and dont have running jobs also,one database is using the memory high(no
open trans)... but Sql server has used 6.5 GB (6 GB) and total server used memory is reached to 7.89 GB.
Please tell me how to find the most costly query in particular database wise and sql server internally behavior ?
how to troubleshot the above issue?
please post the your valuable answers ASAP...
Thanks,
RAMPlease refer to what Olaf said briefly.Buffer pool in SQL server only caters to memory requests which requires pages <8 KB . Almost all requests are satisfies by buffer pool and generally request for memory is small and so buffer pool satisfies the requests.
However there are some direct memory allocation by windows API which is done by windows for requests which requires memory greater than 8 KB. This memory wont come from buffer pool and this would be counted in memory utilized by SQL server. SQL
CLR,XML, linked Server, all takes memory outside buffer pool in SQL Server 2008. This behavior changed in 2012 so my statement only applies to SQL server 2005/2008 and 2008 R2.
I would run below to check SQL server memory utilization.
select
(physical_memory_in_use_kb/1024)Memory_usedby_Sqlserver_MB,
(locked_page_allocations_kb/1024 )Locked_pages_used_Sqlserver_MB,
(total_virtual_address_space_kb/1024 )Total_VAS_in_MB,
process_physical_memory_low,
process_virtual_memory_low
from sys. dm_os_process_memory
I am sure you must be using some features mentioned above.You were worried that even though there is no query running on SQL server it has still holded up the memory. This is default behavior and this is how memory management in SQL Server works. It will
not release memory untill SQLOS asks it to do so which is told by windows OS thorugh some flag that it is facing memory pressure.
Please read below for more details on memory. There is section to test whether system is facing memory crunch please read that as well.
http://social.technet.microsoft.com/wiki/contents/articles/22316.sql-server-memory-and-troubleshooting.aspx
Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
My TechNet Wiki Articles -
Out of memory problem using the API
Hi all,
I need your assistance, we are working with CDB 10.2 making searches and retrieving the documents with all their attributes.
In our actual scenario we have a single user (which represents an application) accessing CDB. This user use several persistent sessions simultaneously. I mean, several thousands of final users connect to an application that uses one user of CDB to connect to CDB with several persistent sessions.
To simulate this scenario we wrote java code that open five threads and make several searches (requesting all the attributes) using the same user on cdb.
Retrieving a considerable amount of data found on the search (~5000), we found a “Out of memory” problem when we made these tests:
- 5 threads obtaining 100 documents (and all their attributes) / search
- 1 thread obtaining 500 documents (and all their attributes) / search
- Also we have same problem if we make several searches with less results
We suppose it’s a configuration or code issue so we ask for your assistance and experience to solve it.
Thanks for your help,
Dani
import java.sql.Connection;
import oracle.ifs.examples.api.constants.AttributeRequests;
import oracle.ifs.examples.api.util.CommonUtils;
import oracle.ifs.fdk.Attributes;
import oracle.ifs.fdk.ClientUtils;
import oracle.ifs.fdk.FdkConstants;
import oracle.ifs.fdk.FdkCredential;
import oracle.ifs.fdk.ManagersFactory;
import oracle.ifs.fdk.NamedValue;
import oracle.ifs.fdk.Options;
import oracle.ifs.fdk.SearchExpression;
import oracle.ifs.fdk.SearchManager;
import oracle.ifs.fdk.SimpleFdkCredential;
import oracle.jdbc.pool.OracleDataSource;
public class Prueba {
public static void main(String args[]) {
Thread thread = new BasicThread1();
Thread thread1 = new BasicThread1();
Thread thread2 = new BasicThread1();
Thread thread3 = new BasicThread1();
Thread thread4 = new BasicThread1();
thread.start();
thread1.start();
thread2.start();
thread3.start();
thread4.start();
class BasicThread1 extends Thread {
public void run() {
ManagersFactory session = null;
try {
System.out.println(this.getName() + "-->init");
session = getSession();
SearchManager sManager = session.getSearchManager();
SearchExpression srchExpr = new SearchExpression(Attributes.SIZE,
new Integer(20000000), FdkConstants.OPERATOR_LESS_THAN);
NamedValue[] res = null;
for (int i = 0; i < 100000; i++) {
res = sManager.search(srchExpr, basicSearchOptions2,
AttributeRequests.DOCUMENT_CATEGORY_ATTRIBUTES);
System.out.println(this.getName()+" --> fin sin error: " + res.length);
} catch (Throwable t) {
t.printStackTrace();
System.out.println("<--"+this.getName());
} finally {
CommonUtils.bestEffortLogout(session);
static NamedValue[] basicSearchOptions2 = new NamedValue[] {
ClientUtils.newNamedValue(
Options.MULTILEVEL_FOLDER_RESTRICTION,
Boolean.TRUE),
ClientUtils.newNamedValue(Options.SEARCH_FOR_DOCUMENTS,
Boolean.TRUE),
ClientUtils.newNamedValue(Options.SEARCH_FOR_FOLDERS,
Boolean.FALSE),
ClientUtils.newNamedValue(Options.RETURN_COUNT,
new Integer(500)) //<<Maximo nº de elementos
private static ManagersFactory getSession() throws Exception {
OracleDataSource ods = new OracleDataSource();
ods.setURL("URL");
Connection conn = ods.getConnection();
FdkCredential credential = new SimpleFdkCredential("USER","PSW");
ManagersFactory session = ManagersFactory.login(credential,
"SERVER");
return session;
}re-Post
-
Use Performance Tool to check memory problem
Hi, I am new to mac programming.
How can I use the performance to check memory problem such as "uninitialized memory read", "memory access out of array boundary" etc?
Thanks,
fmDon't know about source code analyzer, but dbx, the Sun Studio debugger, is capable of detecting memory leaks at run time. You can use bcheck script on your application or start dbx, issue "check -leaks" and then run your app under dbx.
-
i cannot backup my iphone4s because no more storage is displayed when the storage statistics shows Total Storage 5GB and Available Storage 5GB - basically i haven't used any memory but i cannot backup! please help. i am only trying to back up my notes and contacts. that's it. and i don't think it will use up 5GB
On your iPhone, go to Settings>iCloud>Storage & Backup>Manage Storage. There you should be able to see how much of your used storage is allocated to different things (ex., iphone backup, ipad backup, mail). From there you should be able to figure out what is going on.
-
Startup disk has no more space for application memory - itunes using 19GBytes!
I am having intermittent but recurring issues with the dialog "Your Mac OS X startup disk has no more space for application memory" and iTunes is listed as not responding. Activity Monitorsays iTunes consuming on various instances 16 and 19GBytes etc.
Any ideas??
System is a ~ 6month old 27" late 2012 iMac with OS X 10.8.4 32 GBytes RAM and 3TB disk with 2TB free. App Store says no updates.Read this whole message before doing anything.
Back up all data.
Quit iTunes if it’s running.
Step 1
Hold down the option key and select
Go ▹ Library
from the Finder menu bar. Move the following items from the Library folder to the Trash, if they exist:
Caches/com.apple.iTunes
Caches/QCCompositionRepository-com.apple.iTunes.cache
Saved Application State/com.apple.iTunes.savedState
Leave the Library folder open. Try iTunes again. If it works now, stop here. Close the Library folder.
Step 2
If you still have problems, quit iTunes again. Go back to the Finder and move the following item from the open Library folder to the Desktop:
iTunes
Note: you are not moving the iTunes application. You’re moving a folder named “iTunes.”
Test. If iTunes now works, delete the iTunes folder on the Desktop. Otherwise, quit iTunes again. Put back the folder you moved, overwriting the newer one that may have been created in its place, and continue.
Step 3
In the Preferences subfolder, there may be several files having names that begin with either of the following strings:
com.apple.iTunes
com.apple.mobile.iTunes
Move them all to the Desktop.
Also in the Preferences folder, there's a subfolder named "ByHost". Open it and do the same thing.
Test again. This time iTunes should perform normally, but your settings will be lost. You may be able to put back some of the files you moved to the Desktop in this step. Relaunch and test after each one. Eventually you should find one or more that causes iTunes to malfunction. Delete those files and recreate whatever settings they contained.
If the issue is still not resolved, quit iTunes again and put all the items you moved to the Desktop back where they were. You don’t need to replace the items you moved to the Trash. Stop here and post again.
If you later decide that you don’t like the results of steps 2 and 3, you can undo them completely by quitting iTunes and restoring the items you deleted in those steps from your backup. -
Hi All,
I just put together a new pc with the following configuration:
P4 2.4GHz FSB 800 w/ stock HSF
MSI 865PE Neo2-LS
2 x 256MB Hynix DDR400
ATI Radeon 9000Pro
80GB Maxtor 7200 RPM
Enermax 350W Dual Fan PSU
Windows XP Pro
The problem: When using the two sticks of memory (in either dual channel or single channel) the pc crashes everytime starting Windows.
If I use only one stick it boots up fine. Hynix is on MSI approved vendor list so I can't see what the problem might be!!
I tried with different memory type (DDR333) in one channel and works fine.
So, each time I use more than one slot the system crashes.
Any ideas why? Any help would be great.
Thanks in advance.The only time when my windows crashes is when i use the "Turbo" setting in the bios..The only setting i can use is "Slow". But that's because i don't use good memory, the memory you use is high rated.
Do you have the latest bios, 1.30? And did you try some other memory Dram timings? Try to contact Hynix, did you try this site
http://www.hynix.com/datasheet/eng/dram/dram_sub.jsp?RK=03&MS=256&ME=511&RAM_NAME=DDR
maybe it will help you any further. ) -
Nokia C5-03 Low memory problems ( Other Files )
Please help. I have a nokia C5-03 the handset is showing phone memory is full. I have checked and uninstalled all unecessay applications. But problem is still there. when i check the phone memory it indicates that i have other files of 42mb installed and using phone memory. however i am unable to check what other files are installed or classfied as other files. Can you please assist me so i can know what these other files consist of or where they are located.
Hi Thetao,
I typed a more extensive reaction before, but it got lost when I pressed "post". Therefore I just respond to the main points that you mentioned (and some I found out myself).
Strange: I can't find the 40 MB Maximum User Storage on the Nokia website anymore (nor the 75 MB). But it sounds very familiar to me. It looks to me as if they removed this from the phone specs, also of other Smartphones by the way.
Yesterday, I deleted some small apps that I don't use (anymore) such as InternetRadio and I also removed Nokia email. Although the apps were below 2 MB together, this freed up over 7 MB of Phone memory (24 MB free now)! I think there were still some old emails stored in C: which I couldn't delete any other way. This helped me a great deal already but I tried your suggestions as well.
1. No map data or CITIES folder on C: 2. Switched messages memory to phone (and phone to offline mode) and I did indeed find a forgotten email account with 30 email messages. Not much but I had 24,7 MB free after that. Of course, I put messages memory back to the memorycard. 3. Used the free edition of Y-Browser to manually delete the cache folder. Not much data in that, but 25,1 MB free after that. Nice tool, with which you can reach folders that normally stay hidden! Used YBrowser to search all C: for files over 300 kB. Only 2 files: boot_space.txt in C:\ (500 kB, contains only the X repeatedly as far as I see, but is probably essential for the operating system) and C:\resource\python25\pyton25.zip (1 MB). It looks like an installation package, but I'm not sure if I can delete it. By the way: YBrowser hasn't made a shortcut in one of the menus. Only way that I found to start it was to look for it using the Phone's search function. Is there a way to make this shortcut myself?
4. Yes I did. No Images folder on C: anymore, nor other big files (see point 3)
5. I use Bluetooth for file transfer sometimes, mainly for installation files (such as YBrowser.sis, but I did this one via USB-cable). However, no big files are left on C: so I don't think I have this problem.
6. I tried to delete Nokia Chat yesterday as well (with the other apps), but it won't be uninstalled the normal way as it says "Uninstall cancelled" (not sure about the exact translation since my phone 'speaks' Dutch) Do you know if there's another way to get rid of this 3 MB app that I don't use at all?
I think I may have found an explanation and a solution for the memory problem while navigating. You mentioned the "memory in use" in the map settings. Above that option there's a slide bar for the % of memory that the navigation can use. Standard is 70%. I always thought this was about storage memory on (in my case) the memorycard. Another topic mentioned that this the working memory (so the RAM) that the navigation may use. Setting it to 70% means there's only 30% left for other apps that run in the background. The other topic states that this is nog enough so the slider should be set to for instance 30% for navigation leaving 70% free for "the phone". From behind my computer, navigation seems much more stable. I'll try this setting in my car soon and let you know how it works.
Thanks a lot for thinking along with me so far! There's already 25,1 MB of space, which is great since it was only 7 MB last Sunday. And navigation looks more stable. I'd appreciate if you have some more answers to my latest questions, but if not I think my phone will work a lot better already!
Regards, Paul -
Memory problem with 5330 XpressMusic
Hi,
I seem to have a memory problem with my 5330, I have a 1Gb micro disc installed. My son sent me a photo from his phone, when it arrived I got a warning on the scren that 'there is not enough memory to receive messages', I have tried to delete as much as I can, a lot tells me I can't delete it, but I still get the same warning. This warnig shows up each time I switch on the phone. How can I get myself more space? Can I move things from the phone memory to the memory card?
Gerald
Message Edited by warmbells on 01-Nov-2009 06:19 PMAre you sure you're using a 5330 XpressMusic? Or is it a 5320 XpressMusic? The former is yet to be released, AFAIK.
Assuming that you are using a 5320, try these steps:
-> Move all photos, music, videos stored in the phone memory to the memory card. You can use the built-in File Manager to accomplish this.
-> Delete all files that you would've received via bluetooth, present in your Inbox. You can save them to the mass storage.
-> Clear the browser cache.
-> Clear the Sent Items folder.
-> Make sure you don't have too many messages in your inbox.
Hope this helps
Cheers,
DeepestBlue
5800 XpressMusic (Rock Stable) | N73 Music Edition (Never Say Die) | 1108 (Old and faithful)
If you find any post useful, click on the Green "Kudos" Button on the left to say Thank You... -
Memory problem with loading a csv file and displaying 2 xy graphs
Hi there, i'm having some memory issues with this little program.
What i'm trying to do is reading a .csv file of 215 mb (6 million lines more or less), extracting the x-y values as 1d array and displaying them in 2 xy graphs (vi attacked).
I've noticed that this process eats from 1.6 to 2 gb of ram and the 2 x-y graphs, as soon as they are loaded (2 minutes more or less) are really realy slow to move with the scrollbar.
My question is: Is there a way for use less memory resources and make the graphs move smoother ?
Thanks in advance,
Ierman Gert
Attachments:
read from file test.vi 106 KBHi lerman,
how many datapoints do you need to handle? How many do you display on the graphs?
Some notes:
- Each graph has its own data buffer. So all data wired to the graph will be buffered again in memory. When wiring a (big) 1d array to the graph a copy will be made in memory. And you mentioned 2 graphs...
- load the array in parts: read a number of lines, parse them to arrays as before (maybe using "spreadsheet string to array"?), finally append the parts to build the big array (may lead to memory problems too).
- avoid datacopies when handling big arrays. You can show buffer creation using menu->tools->advanced->show buffer allocation
- use SGL instead of DBL when possible...
Message Edited by GerdW on 05-12-2009 10:02 PM
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome -
One or more ports used by the Compute Emulator are currently used by other processes
Environment:
VS 2012 Professional
Azure SDK October 2012
Windows 8
I lost the last few days of my life struggling with a weird issue in the emulator. I just ran out of options and I would really appreciate if someone could help me figure out what's wrong.
I am trying to debug a service package from Visual Studio 2012. It's really just about any package -- even the ones generated from a Windows Azure Cloud Service VS template. Any. The VS debugger starts, and in parallel there's "Starting the Windows Azure Debugging
Environment" dialog which shows "Deploying service package to the Windows Azure compute emulator..." message.
The progress bar shown in the dialog gets stuck for a long time (possibly even for an hour or longer!) at some 60% and then the following error message is shown:
"One or more ports used by the Compute Emulator are currently used by other processes. To resolve this, please see MSDN documentation at http://msdn.microsoft.com/en-us/library/hh472164.aspx"
There doesn't seem to be anything else listening on the ports mentioned on the above MSDN page. I did nevertheless try to re-map devfabric and agent ports by specifying different values in the .config files mentioned on the page, but that did not help.
What I also tried and did not help:
- reinstalled SDK, IIS Express, Local DB
- reinstalled VS 2012 (yes, I got that desperate)
- tried using IIS instead
- used SysInternals TcpView to check if there are any conflicts
- rebooted the machine: the deployment works initially (*once*), and the subsequent deployments fail (!)
- tried to kill all Azure-related processes in memory and restart debugging
- tried looking into log files under the user directory (dftmp\...); no errors in *any* log
- tried looking into Event Viewer logs (Azure-related and in general); no errors either
Since the conflict seems to be related to my current network settings, below is my IP
configuration. I am behind a router and I have DHCP activated, but again that should not matter since none of that has changed in the last few years (and the emulator did work until few days ago).
C:\WINDOWS\system32>ipconfig /all
Windows IP Configuration
Host Name . . . . . . . . . . . . : MYCOMPUTER
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter Ethernet:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Marvell Yukon 88E8056 PCI-E Gigabit Ethernet Controller
Physical Address. . . . . . . . . : 32-AB-30-66-BC-56
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IPv6 Address. . . . . . . . . . . : 2a01:e35:8a3a:9970:edd9:b989:b67a:5a8a(Preferred)
Temporary IPv6 Address. . . . . . : 2a01:e35:8a3a:9970:dc7a:4fe6:62a5:e54a(Preferred)
Link-local IPv6 Address . . . . . : fe80::edd9:b989:b67a:5a8a%12(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.0.1(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Sunday, December 16, 2012 21:26:30 PM
Lease Expires . . . . . . . . . . : Tuesday, December 18, 2012 09:26:14 AM
Default Gateway . . . . . . . . . : fe80::224:d4ff:fea2:9722%12
192.168.0.254
DHCP Server . . . . . . . . . . . : 192.168.0.254
DHCPv6 IAID . . . . . . . . . . . : 253808432
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-18-1B-EE-4D-20-CF-30-66-BC-46
DNS Servers . . . . . . . . . . . : 192.168.0.254
NetBIOS over Tcpip. . . . . . . . : Enabled
Tunnel adapter isatap.{7A96B710-3107-48B9-A7B2-2F261DDD91AD}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Local Area Connection* 11:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
IPv6 Address. . . . . . . . . . . : 2001:0:5ef5:79fb:1caf:12ff:a75c:5668(Preferred)
Link-local IPv6 Address . . . . . : fe80::1caf:12ff:a75c:5668%14(Preferred)
Default Gateway . . . . . . . . . :
NetBIOS over Tcpip. . . . . . . . : Disabled
Below are the Azure SDK emulator configuration files, unmodified (as created by the SDK installation).
DevFC.exe.config
<configuration>
<configSections>
<section name="DevFCSettings" type="System.Configuration.NameValueSectionHandler" />
</configSections>
<!-- The following are options related to the SimulatorSetup -->
<DevFCSettings>
<add key="StartMACAddress" value="00155D201928" />
<add key="EndMACAddress" value="155D20193C" />
<add key="StartIPAddress" value="192.168.0.20" />
<add key="EndIPAddress" value="192.168.0.40" />
<add key="DipPoolStartIPAddress" value="127.255.0.0" />
<add key="DipPoolEndIPAddress" value="127.255.255.255" />
<add key="VipPoolStartIPAddress" value="127.0.0.1" />
<add key="VipPoolEndIPAddress" value="127.0.0.255" />
<add key="DefaultGateway" value="192.168.0.1" />
<add key="SubnetMask" value="255.255.255.0" />
<add key="InternalSwitchName" value="{F3C577E3-8256-4bb9-8F54-256F84E227DE}-DevFabricSwitch" />
<add key="InternalSwitchPortName" value="{F3C577E3-8256-4bb9-8F54-256F84E227DE}-DevFabricHostSwitchPort" />
<add key="InternalEthernetNICName" value="{F3C577E3-8256-4bb9-8F54-256F84E227DE}-DevFabricEthernetNIC" />
<add key="InternalEthernetPortMACAddress" value="00155D201927" />
<add key="InternalEthernetPortIPAddress" value="192.168.0.2" />
<add key="InternalEthernetPortSubnetMask" value="255.255.255.0" />
<add key="StorageRoot" value="DFTemp" />
<add key="LogsDirName" value="DevFCLogs" />
<add key="DynamicPortAllocStart" value="20000" />
<add key="ManagementServicePort" value="15095" />
<add key="RepositoryServicePort" value="15096" />
<add key="AgentCallbackPort" value="15097" />
<add key="AgentPort" value="15098" />
<add key="PxeResponderPort" value="15100" />
</DevFCSettings>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
</startup>
</configuration>
DFAgent.exe.config
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
</startup>
<appSettings>
<add key="AgentMAC" value="00155D201927"/>
<add key="AgentIP" value="192.168.0.2"/>
<add key="EnableActiveNotification" value="false"/>
<add key="StorageRoot" value="C:\DFTemp"/>
<add key="CopyFilesInStartRole" value="false"/>
<add key="LogsDirName" value="DFAgentLogs" />
<add key="EnableFileLog" value="true" />
<add key="AgentPort" value="15098" />
<add key="RuntimePort" value="15099" />
<add key="AgentCallbackPort" value="15097" />
</appSettings>
</configuration>
DFService.exe.config
<configuration>
<configSections>
<section
name="dfservice"
allowExeDefinition="MachineToLocalUser"
type="Microsoft.ServiceHosting.Tools.DevelopmentFabric.DfServiceConfigurationSection, DfService, Version=1.8.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
/>
</configSections>
<dfservice
ManagementServicePort="15095"
RepositoryServicePort="15096"
/>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
</startup>
</configuration>
Finally, here's what TcpView shows while the emulator is stuck:
devenv.exe 3736 TCP MYCOMPUTER 7240 localhost 15095 SYN_SENT
devenv.exe 3736 TCP MYCOMPUTER 7245 localhost 15095 SYN_SENT
svchost.exe 4332 TCP MYCOMPUTER 7438 MYCOMPUTER 0 LISTENING
System 4 TCP MYCOMPUTER 10000 MYCOMPUTER 0 LISTENING
System 4 TCP MYCOMPUTER 10001 MYCOMPUTER 0 LISTENING
System 4 TCP MYCOMPUTER 10002 MYCOMPUTER 0 LISTENING
DevFC.exe 4380 TCP MYCOMPUTER 15095 MYCOMPUTER 0 LISTENING
DevFC.exe 4380 TCP MYCOMPUTER 15096 MYCOMPUTER 0 LISTENING
DevFC.exe 4380 TCP MYCOMPUTER 15097 MYCOMPUTER 0 LISTENING
DFAgent.exe 14472 TCP MYCOMPUTER 15098 MYCOMPUTER 0 LISTENING
DFAgent.exe 14472 TCPV6 mycomputer 15098 mycomputer 0 LISTENING
DFAgent.exe 14472 TCPV6 mycomputer 15098 mycomputer 6399 ESTABLISHED
System 4 TCP MYCOMPUTER 15099 MYCOMPUTER 0 LISTENING
System 4 TCPV6 mycomputer 15099 mycomputer 0 LISTENING
DevFC.exe 4380 TCP MYCOMPUTER 15100 MYCOMPUTER 0 LISTENING
Thanks in advance for help!
▼
▲
▼
▲Hi,
Unfortunately I already tried all kinds of re-installs (the full list is in my original message). The only one remaining is the reinstall of Windows 8 itself, which I would really like to avoid.
What I find really strange is the time it takes for the above error message to appear. It's like one hour or even more (never measured exactly, I left the computer running).
What kind of a timeout is that? I would expect that, if ports are really used by some other application, I get the message in less than a minute (seconds, actually). To me this looks like the emulator itself for some reason believes there's a problem with
some port while in reality there isn't.
I'll eventually contact Microsoft Support, thanks for the suggestion.
▼
▲ -
Hi,
I seem to have a big problem with an application I've made.
The application connects to a Oracle Database, fills the database with arround 1GB of information. Once the database is filled my application launches a series of queries to test performance.
My problem is when working with Oracle 11 in Linux (Fedora and Oracle Enterprise Linux). Apparently I can't seem to get past the database filling process. The free memory vanishes quite fast, eaten up between my application proces' and Oracle's. Now, I know the problem is not with my application because the same code works perfectly in the following databases:
Windows:
- Oracle 10R2
- Oracle 11g
- PostgreSQL 8.3
- MySQL 5.1
- MySQL 6-alpha
- SQL Server 2005 Express Edition
Linux:
- PostgreSQL 8.3
- MySQL 5.1
- MySQL 6-alpha
My application actually connects to the database and starts executing the inserts successfully. It's just that at some point the memory gets filled up, pretty quickly actually. I've watched the through vmstat. The first one to fall is the free memory, then follows the cache memory. And then it starts filling up swap. When it reaches to 2GB of used swap the behavior differs with the Linux Distribution: Fedora Core 8 crashes horribly, in Oracle Enterprise Linux at some point my application's process goes to "sleep" and I seem to still be able to do other things.
To connect to the database I use the [OTLv4 library|otl.sourceforge.net]. One might think that my problem is with OTL, but I use the same OTL in all those cases, and unless it's an issue between Oracle in Linux and OTL I don't think it's an OTL issue.
Can anyone push me in some direction ?
Thanks.Well, you seem to have a memory leak in your application, assuming nothing else is running. Check out the top(1) program; you can get it to sort the displayed processes according to how much %MEM (percent of memory) they are using. First entry is the culprit.
The best way I've found to locate a memory leak is to run your program using valgrind(1). This tool runs your application in a virtual CPU built in to valgrind(1). It can detect tons of different memory usage issues, from using an un-initialized variable to leaked memory.
Of course, you may not have a memory problem. Does you program generate huge bursts of I/O or is the I/O more evenly paced? Kernel I/O backlog can consume memory quickly. While your application is running, open two more windows. In one, run the command:
$ watch -n3 -d cat /proc/meminfo
and in the other:
$ watch -n3 -d cat /proc/slabinfo
Try to figure out what memory usage is steadily increasing; that can tell us if the app is leaking or the I/O channels just can't keep up.
Hope this gives you some ideas about how to proceed. -
Flex 4 RichEditableText out of memory problems
Hello, we're conducting performance testing on the UI of a productivity application we're developing using Adobe AIR. We are using Flash Builder 4 public beta. One part of the performance test is updating the textFlow property of a RichEditableText control every 5 seconds with random data that contains several paragraphs and several images (to mimic a typical news article). We used TextFlowUtil.importFromString(str) to convert the raw data to a textFlow object.
We found that the above test with the RichEditableText control would quickly crash the AIR runtime with presumably out-of-memory problems. If we switch to using the (read-only) RichText control, the problem went away. The only material difference between the two controls we could find in the documentation is that the RichEditableText control supports unlimited undo/redos as long as it retains focus. Could this be the source of the memory problem? Regardless, can its behavior be modified to avoid the out-of-memory problems?
The use case we are trying to simulate is having the productivity app open for weeks at a time, with constant editing and going back and forth between different workflows.
Thanks for your help, and please let me know if you need additional informationTry a more recent build.
Alex Harui
Flex SDK Developer
Adobe Systems Inc.
Blog: http://blogs.adobe.com/aharui
Maybe you are looking for
-
Hello, My requirement is to get the file from the FTP server and place it on a local server. BPEL process needs to be scheduled to run every night. I have created a one way bpel process with Sync Get File from the FTP adapter and write the file to th
-
Chart options: Y axis scale
Hi, I created a bar chart for a report that simly displays the count for each distinct value of a field. I would want the Y scale (which displays the count) to only present integer values (its a count, so it's obvious there can't be any non-integer
-
Transfer call from fixed line to BB Z10
Hello When you transfer calls from fixed line to BB Z10 the device only gives a split second notification of transfer call and then you do not see it any more. So it is difficult to see the difference between direct calls and my transfered call from
-
I need emergency help...
+This is my first post on here so please be gentle!+ Yesterday I installed the latest version of OS X onto my Mac Mini (I've had it for ages though on my MBP) I stupidly installed Windows XP SP 1 with a partition of only 8GB (because it wouldn't take
-
Reassign packages in batch job?
Hi, i know how workbench objects can be reassigned online - but can this be done in a batch job reassigning them from package z_a (no transport route) to z_b (with transport route)? In worst case a batch input possibility or even a Z-Report is apprec