Home > Net >  C # WinForm error, a great god to help take a look at how to solve
C # WinForm error, a great god to help take a look at how to solve

Time:09-29

I add a picture to picturebox save he reported this error,
Trigger type to "System. OutOfMemoryException" exception,
Dear great god this how to solve,

CodePudding user response:

Your picture size?

CodePudding user response:

Out of memory, please post the source code

CodePudding user response:

On the code, otherwise, what do you think?

CodePudding user response:

reference 1st floor ManBOyyy response:
your picture size?

1 picture about 1.3 m, a total of 7

CodePudding user response:

Do you have been in the new stream, but never release?

CodePudding user response:

Ival
reference 3 floor response:
on code, otherwise, what do you think?

The code a bit more bad hair, the project is now more than 200 megabytes, this is in the project of new form, with only a few pictures and key, haven't write code, save the quote this mistake

CodePudding user response:

refer to the second floor of autumn red fruit response:
memory, please post the source code

The code a bit more bad hair, the project is now more than 200 megabytes, this is in the project of new form, with only a few pictures and key, haven't write code, save the quote this mistake

CodePudding user response:

references 4 floor TheChina. Response:
Quote: refer to 1st floor ManBOyyy response:
your picture size?

1 picture about 1.3 m, a total of 7

Anyway I knew of memory, I think the picture is too big, you said just 1.3 m should be not the problem, look at that code

CodePudding user response:

refer to the eighth floor ManBOyyy response:
Quote: reference 4 floor TheChina. Response:

Quote: refer to 1st floor ManBOyyy response:
your picture size?

1 picture about 1.3 m, a total of 7

Anyway I knew of memory, I think the picture is too big, you said just 1.3 m should be not the problem, that the code to see

This to project the new forms, haven't write code, is to look at the window of other code

CodePudding user response:

reference 5 floor is nu month god reply:
if you have been in the new stream, but never release?

The stream is used

CodePudding user response:

You put the picturebox to add a picture of the code

CodePudding user response:

11 references are nu month god reply:
picturebox to add a picture of the code you put out

I am a directly add images to the image

CodePudding user response:

11 references are nu month god reply:
picturebox to add a picture of the code you put out

Is not the way the code to add pictures

CodePudding user response:

reference TheChina. 13 floor response:
Quote: refer to the 11 floor is nu month god reply:
picturebox to add a picture of the code you put out

Is not the way the code to add pictures of

What's that way,
Where are all your photo storage, is that too many graphics, caused several assembly fit?
There is always a place to overflow

CodePudding user response:

On the 14th floor is
reference nu month god reply:
Quote: refer to the 13th floor TheChina. Response:

Quote: refer to the 11 floor is nu month god reply:
picturebox to add a picture of the code you put out

Is not the way the code to add pictures of

What's that way,
Where are all your photo storage, is that too many graphics, caused several assembly fit?
Always have a place to overflow the

Don't array, is directly with the attributes in the picturebox image directly imported images

CodePudding user response:

reference TheChina. 15 floor response:
Quote: refer to the 14 floor is nu month god reply:
Quote: refer to the 13th floor TheChina. Response:

Quote: refer to the 11 floor is nu month god reply:
picturebox to add a picture of the code you put out

Is not the way the code to add pictures of

What's that way,
Where are all your photo storage, is that too many graphics, caused several assembly fit?
Always have a place to overflow the

Don't array, is directly with the attributes in the picturebox image directly into the picture

Out of memory that only 1.3 M is impossible,
Can you debug

CodePudding user response:

reference 16 floors are nu month god reply:
Quote: reference 15 floor TheChina. Response:

Quote: reference 14 floor is nu month god reply:
Quote: refer to the 13th floor TheChina. Response:

Quote: refer to the 11 floor is nu month god reply:
picturebox to add a picture of the code you put out

Is not the way the code to add pictures of

What's that way,
Where are all your photo storage, is that too many graphics, caused several assembly fit?
Always have a place to overflow the

Don't array, is directly with the attributes in the picturebox image directly into the picture

Out of memory that only 1.3 M is impossible,
Can you make the debugging

Debugging, but he is editing tools to fault, CTRL + s to save an error

CodePudding user response:

reference. 17th floor TheChina response:
debug, but he was editing tools to fault, CTRL + s to save the time error

The ide save, return true not met at the wrong,
You can only search to see it himselfnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  •  Tags:  
  • C#
  • Related