Home/Support/Support Forum/Out of Memory Issue While Running QTimer with my application.
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

Out of Memory Issue While Running QTimer with my application.

0 votes
I am running QTimer in my application with an interval of 100ms Frequently I am getting Out of Memory error, even if small piece of code is executing on timer loop.

Please find the error message for your reference and kindly help us out to solve this issue.

PortableTester invoked oom-killer: gfp_mask=0x201da, order=0, oomkilladj=0
[<c002b0bc>] (unwind_backtrace+0x0/0xd8) from [<c0073310>] (T.285+0x58/0x1b4)
[<c0073310>] (T.285+0x58/0x1b4) from [<c00735c4>] (__out_of_memory+0x158/0x17c)
[<c00735c4>] (__out_of_memory+0x158/0x17c) from [<c007364c>] (out_of_memory+0x64/0x98)
[<c007364c>] (out_of_memory+0x64/0x98) from [<c0075ccc>] (__alloc_pages_nodemask+0x458/0x554
)
[<c0075ccc>] (__alloc_pages_nodemask+0x458/0x554) from [<c0077b74>] (__do_page_cache_readahe
ad+0x9c/0x1e0)
[<c0077b74>] (__do_page_cache_readahead+0x9c/0x1e0) from [<c0077cd8>] (ra_submit+0x20/0x24)
[<c0077cd8>] (ra_submit+0x20/0x24) from [<c0070f88>] (filemap_fault+0x1a4/0x374)
[<c0070f88>] (filemap_fault+0x1a4/0x374) from [<c0080e58>] (__do_fault+0x50/0x3b0)
[<c0080e58>] (__do_fault+0x50/0x3b0) from [<c008196c>] (handle_mm_fault+0x240/0x96c)
[<c008196c>] (handle_mm_fault+0x240/0x96c) from [<c002bee8>] (do_page_fault+0xe4/0x24c)
[<c002bee8>] (do_page_fault+0xe4/0x24c) from [<c0026e1c>] (ret_from_exception+0x0/0x10)
Mem-info:
DMA per-cpu:
CPU 0: hi: 18, btch: 3 usd: 15
Normal per-cpu:
CPU 0: hi: 90, btch: 15 usd: 87
Active_anon:64985 active_file:0 inactive_anon:19168
inactive_file:28 unevictable:0 dirty:0 writeback:0 unstable:0
free:23066 slab:527 mapped:29 pagetables:214 bounce:0
DMA free:89796kB min:588kB low:732kB high:880kB active_anon:0kB inactive_anon:0kB active_fil
e:0kB inactive_file:0kB unevictable:0kB present:97536kB pages_scanned:0 all_unreclaimable? y
es
lowmem_reserve[]: 0 85344 85344
Normal free:2468kB min:2056kB low:2568kB high:3084kB active_anon:259940kB inactive_anon:7667
2kB active_file:0kB inactive_file:112kB unevictable:0kB present:341376kB pages_scanned:28 al
l_unreclaimable? no
lowmem_reserve[]: 0 0 0
DMA: 5*4kB 4*8kB 5*16kB 4*32kB 1*64kB 1*128kB 1*256kB 0*512kB 1*1024kB 1*2048kB 1*4096kB 2*8
192kB 4*16384kB = 89796kB
Normal: 99*4kB 7*8kB 0*16kB 1*32kB 1*64kB 1*128kB 1*256kB 1*512kB 1*1024kB 0*2048kB 0*4096kB
0*8192kB 0*16384kB = 2468kB
39 total pagecache pages
110592 pages of RAM
23228 free pages
2113 reserved pages
405 slab pages
29 pages shared
0 pages swap cached
Out of memory: kill process 604 (sh) score 2974 or a child
Killed process 609 (PortableTester)
Killed


Regards

Elangovan.D
asked Jul 20, 2012 in Linux by elangovan New to the Community (0 points)
recategorized Nov 26, 2013 by Yeshas

Please log in or register to answer this question.

...