Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 862057 Details for
Bug 1064076
kernel 3.12.* breaks applications with out-of-memory which works with kernel 3.11.*
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
Test program to reproduce the problem.
testcase-out-of-memory-kernel-3.12.cpp (text/x-c++src), 689 bytes, created by
Edgar Hoch
on 2014-02-12 00:05:25 UTC
(
hide
)
Description:
Test program to reproduce the problem.
Filename:
MIME Type:
Creator:
Edgar Hoch
Created:
2014-02-12 00:05:25 UTC
Size:
689 bytes
patch
obsolete
>#include <stdio.h> > >int main () >{ > int count = 0; > while(true) > { > int * foo; > foo = new int [1000]; > // printf ("%u\n", count++); > } >return 0; >} > >/* >Maximum memory before crash with "std::bad_alloc" depends on the size of the created element. > >new int [100]: VmPeak: 8658212 kB (8 GB) count=21281810 >new int [1000]: VmPeak: 8658212 kB (8 GB) count=2204489 >new int [10000]: VmPeak: 10250644 kB (9 GB) count=261991 >new int [100000]: VmPeak: 25688080 kB (24 GB) count=65497 >new int [1000000]: VmPeak: 255982564 kB (244 GB) count=65497 >new int [10000000]: VmPeak: 2558665408 kB (2440 GB) count=65497 >new int [100000000]: VmPeak: 25585365220 kB (24400 GB) count=65497 > >*/
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1064076
: 862057 |
862058
|
862059