projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3e86b8
)
Additional memory allocated since startup: %d bytes message now identical to other...
author
Art Cancro
<ajc@citadel.org>
Mon, 18 Sep 2023 18:32:05 +0000
(09:32 -0900)
committer
Art Cancro
<ajc@citadel.org>
Mon, 18 Sep 2023 18:32:05 +0000
(09:32 -0900)
citadel/server/housekeeping.c
patch
|
blob
|
history
diff --git
a/citadel/server/housekeeping.c
b/citadel/server/housekeeping.c
index 5ce28bf8182fd0f9b985191bba4017ea808f4a95..a5daff9f0ae221a0815eb2714e51e63000d40e5c 100644
(file)
--- a/
citadel/server/housekeeping.c
+++ b/
citadel/server/housekeeping.c
@@
-71,7
+71,7
@@
void check_ref_counts(void) {
void keep_an_eye_on_memory_usage(void) {
static void *original_brk = NULL;
if (!original_brk) original_brk = sbrk(0); // Remember the original program break so we can test for leaks
- syslog(LOG_DEBUG, "
original_brk=%lx, current_brk=%lx, addl=%ld", (long)original_brk, (long)sbrk(0), (long)
(sbrk(0)-original_brk));
+ syslog(LOG_DEBUG, "
Additional memory allocated since startup: %d bytes",
(sbrk(0)-original_brk));
}