. Net remoting memory overflow (input stream is invalid binary format) Fault Analysis

Source: Internet
Author: User
Fault symptom
The following error is often prompted during data export: the input stream is in an invalid binary format. The starting content (in bytes) is: 53-79-73-74-65-6d-2e-4f-75-74-4f-66-4d-65-6d-6f-72...
Once this error occurs, other users exported later may encounter this error, resulting in operation failure.

Fault Analysis
System. outofmemoryexception occurs
53-79-73-74-65-6d-2e-4f-75-74-4f-66-4d-65-6d-6f-72...
System. outofmemor...
System. outofmemoryexception
ApplicationProgramExcessive memory consumption
Excessive memory fragments

Memory Dump Analysis
There is m free memory, but the maximum free memory block is only 26 m less than 64 m. Memory fragmentation issues.
-------------------- Type summary --------------------------

Totsize (Kb) PCT (TOTs) Usage

1b450000 (446784): 21.30%: <free>

C940000 (206080): 09.83%: mem_image

A3c000( 10480): 00.50%: mem_mapped

57824000 (1433744): 68.37%: mem_private

-------------------- State summary --------------------------

Totsize (Kb) PCT (TOTs) Usage

2a82f000( 696508): 33.21%: mem_commit

1b450000 (446784): 21.30%: mem_free

3a371000 (953796): 45.48%: mem_reserve

Largest free region: Base 58bb0000-size 019f0000 (26560 KB)

The largest dataset in the memory occupies 18 MB of memory. The View content is the content of the abnormal export function.

Sizeof (18e6a408) = 18,437,260 (0x119548c) bytes (system. Data. dataset)

...

Sizeof (18e6a8e0) = 18,437,260 (0x119548c) bytes (system. Data. datatable)

A total of more than 6000 classes are loaded in the system, of which more than 3000 are <unloaded type>

0x0ff286b4 1 32 1 <unloaded type>

0x0ff2858c 1 32 1 <unloaded type>

0x0ff28464 1 32 1 <unloaded type>

0x0ff2833c 1 32 1 <unloaded type>

0x0ff28214 1 32 1 <unloaded type>

0x0ff280ec 1 32 1 <unloaded type>

0x0ff27fc4 1 32 1 <unloaded type>

0x0ff27e9c 1 32 1 <unloaded type>

0x0ff27d74 1 32 1 <unloaded type>

0x0ff27c4c 1 32 1 <unloaded type>

IIS Log Analysis

Average clicks per day: 502,708

A total of 5,525 IP addresses have accessed the system, with an average of 2,658 access requests per day.

The maximum number of clicks occurred 2,481,749-11-19.

Every day is the busiest time

The busiest System on Thursday every week

Some remoting calls return too much data.

The log shows that the maximum remoting call returns 88m of data.

Maximum number of sent bytes before remoting URI Modification

/Rs2/iinventoryqueryservice. Rem 88171169.

/rs2/ientitysequenceservice. Rem 33218960

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.